models

package
v0.0.0-...-cc7b9bc Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CalculateCustomerDiscountResponseCompDiscount

type CalculateCustomerDiscountResponseCompDiscount struct {

	// comp id
	CompID string `json:"comp_id,omitempty"`

	// discount mode
	DiscountMode string `json:"discount_mode,omitempty"`

	// discount value
	DiscountValue int64 `json:"discount_value,omitempty"`
}

CalculateCustomerDiscountResponseCompDiscount calculate customer discount response comp discount

swagger:model CalculateCustomerDiscountResponseCompDiscount

func (*CalculateCustomerDiscountResponseCompDiscount) ContextValidate

ContextValidate validates this calculate customer discount response comp discount based on context it is used

func (*CalculateCustomerDiscountResponseCompDiscount) MarshalBinary

MarshalBinary interface implementation

func (*CalculateCustomerDiscountResponseCompDiscount) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CalculateCustomerDiscountResponseCompDiscount) Validate

Validate validates this calculate customer discount response comp discount

type NewbillingAccessSystem

type NewbillingAccessSystem struct {

	// 接入系统编码
	AccessSysCode string `json:"access_sys_code,omitempty"`

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 接入系统创建时间
	// Format: date-time
	CreateTime *strfmt.DateTime `json:"create_time,omitempty"`

	// 创建人
	CreatedBy string `json:"created_by,omitempty"`

	// 接入系统名称
	Name string `json:"name,omitempty"`

	// 接入系统owner信息
	Owner []*NewbillingAccessSystemOwner `json:"owner"`

	// 接入系统更新时间
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"update_time,omitempty"`
}

NewbillingAccessSystem 接入系统

swagger:model newbillingAccessSystem

func (*NewbillingAccessSystem) ContextValidate

func (m *NewbillingAccessSystem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling access system based on the context it is used

func (*NewbillingAccessSystem) MarshalBinary

func (m *NewbillingAccessSystem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingAccessSystem) UnmarshalBinary

func (m *NewbillingAccessSystem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingAccessSystem) Validate

func (m *NewbillingAccessSystem) Validate(formats strfmt.Registry) error

Validate validates this newbilling access system

type NewbillingAccessSystemInitResponse

type NewbillingAccessSystemInitResponse struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// user id
	UserID string `json:"user_id,omitempty"`
}

NewbillingAccessSystemInitResponse 用户绑定接入系统请求信息

swagger:model newbillingAccessSystemInitResponse

func (*NewbillingAccessSystemInitResponse) ContextValidate

func (m *NewbillingAccessSystemInitResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling access system init response based on context it is used

func (*NewbillingAccessSystemInitResponse) MarshalBinary

func (m *NewbillingAccessSystemInitResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingAccessSystemInitResponse) UnmarshalBinary

func (m *NewbillingAccessSystemInitResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingAccessSystemInitResponse) Validate

Validate validates this newbilling access system init response

type NewbillingAccessSystemOwner

type NewbillingAccessSystemOwner struct {

	// access sys id
	AccessSysID string `json:"access_sys_id,omitempty"`

	// email
	Email string `json:"email,omitempty"`

	// user id
	UserID string `json:"user_id,omitempty"`
}

NewbillingAccessSystemOwner newbilling access system owner

swagger:model newbillingAccessSystemOwner

func (*NewbillingAccessSystemOwner) ContextValidate

func (m *NewbillingAccessSystemOwner) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling access system owner based on context it is used

func (*NewbillingAccessSystemOwner) MarshalBinary

func (m *NewbillingAccessSystemOwner) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingAccessSystemOwner) UnmarshalBinary

func (m *NewbillingAccessSystemOwner) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingAccessSystemOwner) Validate

func (m *NewbillingAccessSystemOwner) Validate(formats strfmt.Registry) error

Validate validates this newbilling access system owner

type NewbillingAccessSystemOwnerResponse

type NewbillingAccessSystemOwnerResponse struct {

	// 用户ID
	AccessSysOwner []*NewbillingAccessSystemOwner `json:"access_sys_owner"`
}

NewbillingAccessSystemOwnerResponse 用户绑定接入系统返回信息

swagger:model newbillingAccessSystemOwnerResponse

func (*NewbillingAccessSystemOwnerResponse) ContextValidate

func (m *NewbillingAccessSystemOwnerResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling access system owner response based on the context it is used

func (*NewbillingAccessSystemOwnerResponse) MarshalBinary

func (m *NewbillingAccessSystemOwnerResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingAccessSystemOwnerResponse) UnmarshalBinary

func (m *NewbillingAccessSystemOwnerResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingAccessSystemOwnerResponse) Validate

Validate validates this newbilling access system owner response

type NewbillingAccessSystemUserResponse

type NewbillingAccessSystemUserResponse struct {

	// ok
	Ok bool `json:"ok,omitempty"`
}

NewbillingAccessSystemUserResponse newbilling access system user response

swagger:model newbillingAccessSystemUserResponse

func (*NewbillingAccessSystemUserResponse) ContextValidate

func (m *NewbillingAccessSystemUserResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling access system user response based on context it is used

func (*NewbillingAccessSystemUserResponse) MarshalBinary

func (m *NewbillingAccessSystemUserResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingAccessSystemUserResponse) UnmarshalBinary

func (m *NewbillingAccessSystemUserResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingAccessSystemUserResponse) Validate

Validate validates this newbilling access system user response

type NewbillingAction

type NewbillingAction struct {

	// 操作信息ID
	ActionID string `json:"action_id,omitempty"`

	// 操作信息-API类型- value = read 只读, value = write 只写,  value = delete 删除,  value = modify 修改
	ActionType string `json:"action_type,omitempty"`

	// 操作信息-API ID
	APIID string `json:"api_id,omitempty"`

	// 操作信息-API方法
	APIMethod string `json:"api_method,omitempty"`

	// 操作信息-API名称
	APIName string `json:"api_name,omitempty"`

	// 创建时间
	// Format: date-time
	CreateTime *strfmt.DateTime `json:"create_time,omitempty"`

	// 创建人ID
	CreatedBy string `json:"created_by,omitempty"`

	// 操作信息-描述
	Description string `json:"description,omitempty"`

	// 操作信息-模块ID
	ModuleID string `json:"module_id,omitempty"`

	// 操作信息-模块名称
	ModuleName string `json:"module_name,omitempty"`

	// 更新时间
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"update_time,omitempty"`
}

NewbillingAction 操作信息-API注册

swagger:model newbillingAction

func (*NewbillingAction) ContextValidate

func (m *NewbillingAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling action based on context it is used

func (*NewbillingAction) MarshalBinary

func (m *NewbillingAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingAction) UnmarshalBinary

func (m *NewbillingAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingAction) Validate

func (m *NewbillingAction) Validate(formats strfmt.Registry) error

Validate validates this newbilling action

type NewbillingAttrID

type NewbillingAttrID struct {

	// attr id
	AttrID string `json:"attr_id,omitempty"`

	// filter ids
	FilterIds []string `json:"filter_ids"`
}

NewbillingAttrID newbilling attr Id

swagger:model newbillingAttrId

func (*NewbillingAttrID) ContextValidate

func (m *NewbillingAttrID) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling attr Id based on context it is used

func (*NewbillingAttrID) MarshalBinary

func (m *NewbillingAttrID) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingAttrID) UnmarshalBinary

func (m *NewbillingAttrID) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingAttrID) Validate

func (m *NewbillingAttrID) Validate(formats strfmt.Registry) error

Validate validates this newbilling attr Id

type NewbillingAttrIDValue

type NewbillingAttrIDValue struct {

	// 产品属性ID,兼容code.
	AttrID string `json:"attr_id,omitempty"`

	// 产品属性值
	AttrValue string `json:"attr_value,omitempty"`
}

NewbillingAttrIDValue 0.公共 请求-计费项的属性键值对

swagger:model newbillingAttrIdValue

func (*NewbillingAttrIDValue) ContextValidate

func (m *NewbillingAttrIDValue) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling attr Id value based on context it is used

func (*NewbillingAttrIDValue) MarshalBinary

func (m *NewbillingAttrIDValue) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingAttrIDValue) UnmarshalBinary

func (m *NewbillingAttrIDValue) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingAttrIDValue) Validate

func (m *NewbillingAttrIDValue) Validate(formats strfmt.Registry) error

Validate validates this newbilling attr Id value

type NewbillingAttrInfo

type NewbillingAttrInfo struct {

	// attr
	Attr *NewbillingCreateAttributeRequest `json:"attr,omitempty"`

	// attr link code
	AttrLinkCode string `json:"attr_link_code,omitempty"`

	// filters
	Filters []*NewbillingFilterInfo `json:"filters"`
}

NewbillingAttrInfo newbilling attr info

swagger:model newbillingAttrInfo

func (*NewbillingAttrInfo) ContextValidate

func (m *NewbillingAttrInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling attr info based on the context it is used

func (*NewbillingAttrInfo) MarshalBinary

func (m *NewbillingAttrInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingAttrInfo) UnmarshalBinary

func (m *NewbillingAttrInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingAttrInfo) Validate

func (m *NewbillingAttrInfo) Validate(formats strfmt.Registry) error

Validate validates this newbilling attr info

type NewbillingAttribute

type NewbillingAttribute struct {

	// 属性编码
	AttrCode string `json:"attr_code,omitempty"`

	// 属性ID
	AttrID string `json:"attr_id,omitempty"`

	// 创建时间
	// Format: date-time
	CreateTime *strfmt.DateTime `json:"create_time,omitempty"`

	// 属性描述
	Description string `json:"description,omitempty"`

	// 是否需要计量
	IsNeedMeter int64 `json:"is_need_meter,omitempty"`

	// 属性名称
	Name string `json:"name,omitempty"`

	// 产品ID
	ProdID string `json:"prod_id,omitempty"`

	// 属性值单位
	Unit string `json:"unit,omitempty"`

	// 更新时间
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"update_time,omitempty"`

	// value
	Value string `json:"value,omitempty"`

	// 属性值类型
	ValueType string `json:"value_type,omitempty"`
}

NewbillingAttribute 属性 - 不带value字段,用于属性的增删改查,配置产品的时候使用。

swagger:model newbillingAttribute

func (*NewbillingAttribute) ContextValidate

func (m *NewbillingAttribute) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling attribute based on context it is used

func (*NewbillingAttribute) MarshalBinary

func (m *NewbillingAttribute) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingAttribute) UnmarshalBinary

func (m *NewbillingAttribute) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingAttribute) Validate

func (m *NewbillingAttribute) Validate(formats strfmt.Registry) error

Validate validates this newbilling attribute

type NewbillingAttrsIDValue

type NewbillingAttrsIDValue struct {

	// 产品属性ID
	AttrID string `json:"attr_id,omitempty"`

	// 产品属性值
	AttrValue string `json:"attr_value,omitempty"`
}

NewbillingAttrsIDValue 计费项的属性键值对

swagger:model newbillingAttrsIdValue

func (*NewbillingAttrsIDValue) ContextValidate

func (m *NewbillingAttrsIDValue) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling attrs Id value based on context it is used

func (*NewbillingAttrsIDValue) MarshalBinary

func (m *NewbillingAttrsIDValue) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingAttrsIDValue) UnmarshalBinary

func (m *NewbillingAttrsIDValue) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingAttrsIDValue) Validate

func (m *NewbillingAttrsIDValue) Validate(formats strfmt.Registry) error

Validate validates this newbilling attrs Id value

type NewbillingAuthenticationResponse

type NewbillingAuthenticationResponse struct {

	// 是否认证通过
	Valid bool `json:"valid,omitempty"`
}

NewbillingAuthenticationResponse im-产品级别的IAM认证处理逻辑返回信息

swagger:model newbillingAuthenticationResponse

func (*NewbillingAuthenticationResponse) ContextValidate

func (m *NewbillingAuthenticationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling authentication response based on context it is used

func (*NewbillingAuthenticationResponse) MarshalBinary

func (m *NewbillingAuthenticationResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingAuthenticationResponse) UnmarshalBinary

func (m *NewbillingAuthenticationResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingAuthenticationResponse) Validate

Validate validates this newbilling authentication response

type NewbillingBill

type NewbillingBill struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 账期
	AccountPeriod string `json:"account_period,omitempty"`

	// 应付金额
	AmountPayable float32 `json:"amount_payable,omitempty"`

	// 计费账单ID
	BillID string `json:"bill_id,omitempty"`

	// 计费模式
	BillingMode string `json:"billing_mode,omitempty"`

	// 计费任务ID
	BllJobID string `json:"bll_job_id,omitempty"`

	// 计费项编码
	CompCode string `json:"comp_code,omitempty"`

	// 计费项ID
	CompID string `json:"comp_id,omitempty"`

	// 计费项名称
	CompName string `json:"comp_name,omitempty"`

	// 原价
	Cost float32 `json:"cost,omitempty"`

	// 计费账单创建时间
	// Format: date-time
	CreateTime *strfmt.DateTime `json:"create_time,omitempty"`

	// 描述信息
	Description string `json:"description,omitempty"`

	// 折扣率
	Discount float32 `json:"discount,omitempty"`

	// 账单使用周期
	Duration string `json:"duration,omitempty"`

	// 计费结束时间
	// Format: date-time
	EndTime *strfmt.DateTime `json:"end_time,omitempty"`

	// 订单ID
	OrderID string `json:"order_id,omitempty"`

	// 订单用户ID
	OrderUserID string `json:"order_user_id,omitempty"`

	// 订单用户名称
	OrderUserName string `json:"order_user_name,omitempty"`

	// 产品编码
	ProdCode string `json:"prod_code,omitempty"`

	// 产品ID
	ProdID string `json:"prod_id,omitempty"`

	// 产品实例ID
	ProdInstID string `json:"prod_inst_id,omitempty"`

	// 外部产品实例ID
	ProdInstIDExt string `json:"prod_inst_id_ext,omitempty"`

	// 产品实例数量
	ProdInstNum int32 `json:"prod_inst_num,omitempty"`

	// 产品名称
	ProdName string `json:"prod_name,omitempty"`

	// 计费开始时间
	// Format: date-time
	StartTime *strfmt.DateTime `json:"start_time,omitempty"`

	// 状态
	Status string `json:"status,omitempty"`

	// 计费项订阅ID
	SubsComponentID string `json:"subs_component_id,omitempty"`

	// 计费账单更新时间
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"update_time,omitempty"`

	// 资源使用量
	Usages string `json:"usages,omitempty"`
}

NewbillingBill 计费账单

swagger:model newbillingBill

func (*NewbillingBill) ContextValidate

func (m *NewbillingBill) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling bill based on context it is used

func (*NewbillingBill) MarshalBinary

func (m *NewbillingBill) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingBill) UnmarshalBinary

func (m *NewbillingBill) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingBill) Validate

func (m *NewbillingBill) Validate(formats strfmt.Registry) error

Validate validates this newbilling bill

type NewbillingBillingJob

type NewbillingBillingJob struct {

	// 计费任务ID
	BllJobID string `json:"bll_job_id,omitempty"`

	// 计费项ID
	CompID string `json:"comp_id,omitempty"`

	// 计费项名称
	CompName string `json:"comp_name,omitempty"`

	// 计费任务创建时间
	// Format: date-time
	CreateTime *strfmt.DateTime `json:"create_time,omitempty"`

	// 调度周期表达式
	CronExpr string `json:"cron_expr,omitempty"`

	// 计费任务结束时间
	// Format: date-time
	EndTime *strfmt.DateTime `json:"end_time,omitempty"`

	// 计费方案ID
	PlanID string `json:"plan_id,omitempty"`

	// 产品实例ID
	ProdInstID string `json:"prod_inst_id,omitempty"`

	// 调度任务ID
	SchedulerJobID string `json:"scheduler_job_id,omitempty"`

	// 计费任务开始时间
	// Format: date-time
	StartTime *strfmt.DateTime `json:"start_time,omitempty"`

	// 任务状态
	Status string `json:"status,omitempty"`

	// 订阅ID
	SubsID string `json:"subs_id,omitempty"`

	// 计费任务更新时间
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"update_time,omitempty"`
}

NewbillingBillingJob 计费任务

swagger:model newbillingBillingJob

func (*NewbillingBillingJob) ContextValidate

func (m *NewbillingBillingJob) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling billing job based on context it is used

func (*NewbillingBillingJob) MarshalBinary

func (m *NewbillingBillingJob) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingBillingJob) UnmarshalBinary

func (m *NewbillingBillingJob) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingBillingJob) Validate

func (m *NewbillingBillingJob) Validate(formats strfmt.Registry) error

Validate validates this newbilling billing job

type NewbillingBindingMemberRole

type NewbillingBindingMemberRole struct {

	// 角色ID
	RoleID []string `json:"role_id"`

	// 用户ID
	UserID []string `json:"user_id"`
}

NewbillingBindingMemberRole 用户角色绑定基本信息

swagger:model newbillingBindingMemberRole

func (*NewbillingBindingMemberRole) ContextValidate

func (m *NewbillingBindingMemberRole) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling binding member role based on context it is used

func (*NewbillingBindingMemberRole) MarshalBinary

func (m *NewbillingBindingMemberRole) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingBindingMemberRole) UnmarshalBinary

func (m *NewbillingBindingMemberRole) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingBindingMemberRole) Validate

func (m *NewbillingBindingMemberRole) Validate(formats strfmt.Registry) error

Validate validates this newbilling binding member role

type NewbillingBindingMembersRolesRequest

type NewbillingBindingMembersRolesRequest struct {

	// 用户角色绑定列表
	BindingMemberRole []*NewbillingBindingMemberRole `json:"binding_member_role"`
}

NewbillingBindingMembersRolesRequest 用户角色绑定请求信息

swagger:model newbillingBindingMembersRolesRequest

func (*NewbillingBindingMembersRolesRequest) ContextValidate

func (m *NewbillingBindingMembersRolesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling binding members roles request based on the context it is used

func (*NewbillingBindingMembersRolesRequest) MarshalBinary

func (m *NewbillingBindingMembersRolesRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingBindingMembersRolesRequest) UnmarshalBinary

func (m *NewbillingBindingMembersRolesRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingBindingMembersRolesRequest) Validate

Validate validates this newbilling binding members roles request

type NewbillingBindingMembersRolesResponse

type NewbillingBindingMembersRolesResponse struct {

	// 绑定是否成功
	Ok bool `json:"ok,omitempty"`
}

NewbillingBindingMembersRolesResponse 用户角色绑定返回信息

swagger:model newbillingBindingMembersRolesResponse

func (*NewbillingBindingMembersRolesResponse) ContextValidate

func (m *NewbillingBindingMembersRolesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling binding members roles response based on context it is used

func (*NewbillingBindingMembersRolesResponse) MarshalBinary

func (m *NewbillingBindingMembersRolesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingBindingMembersRolesResponse) UnmarshalBinary

func (m *NewbillingBindingMembersRolesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingBindingMembersRolesResponse) Validate

Validate validates this newbilling binding members roles response

type NewbillingBindingRoleAction

type NewbillingBindingRoleAction struct {

	// 角色要绑定的操作列表
	APIID []string `json:"api_id"`

	// 角色ID
	RoleID string `json:"role_id,omitempty"`
}

NewbillingBindingRoleAction 角色操作绑定基本信息

swagger:model newbillingBindingRoleAction

func (*NewbillingBindingRoleAction) ContextValidate

func (m *NewbillingBindingRoleAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling binding role action based on context it is used

func (*NewbillingBindingRoleAction) MarshalBinary

func (m *NewbillingBindingRoleAction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingBindingRoleAction) UnmarshalBinary

func (m *NewbillingBindingRoleAction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingBindingRoleAction) Validate

func (m *NewbillingBindingRoleAction) Validate(formats strfmt.Registry) error

Validate validates this newbilling binding role action

type NewbillingBindingRoleActionRequest

type NewbillingBindingRoleActionRequest struct {

	// 角色操作绑定基本信息列表
	BindingRoleAction []*NewbillingBindingRoleAction `json:"binding_role_action"`
}

NewbillingBindingRoleActionRequest 角色操作绑定请求信息

swagger:model newbillingBindingRoleActionRequest

func (*NewbillingBindingRoleActionRequest) ContextValidate

func (m *NewbillingBindingRoleActionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling binding role action request based on the context it is used

func (*NewbillingBindingRoleActionRequest) MarshalBinary

func (m *NewbillingBindingRoleActionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingBindingRoleActionRequest) UnmarshalBinary

func (m *NewbillingBindingRoleActionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingBindingRoleActionRequest) Validate

Validate validates this newbilling binding role action request

type NewbillingBindingRoleActionResponse

type NewbillingBindingRoleActionResponse struct {

	// 是否绑定成功
	Ok bool `json:"ok,omitempty"`
}

NewbillingBindingRoleActionResponse 角色操作绑定返回信息

swagger:model newbillingBindingRoleActionResponse

func (*NewbillingBindingRoleActionResponse) ContextValidate

func (m *NewbillingBindingRoleActionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling binding role action response based on context it is used

func (*NewbillingBindingRoleActionResponse) MarshalBinary

func (m *NewbillingBindingRoleActionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingBindingRoleActionResponse) UnmarshalBinary

func (m *NewbillingBindingRoleActionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingBindingRoleActionResponse) Validate

Validate validates this newbilling binding role action response

type NewbillingCalculateComponentsPrice4BillingModeTransferRequest

type NewbillingCalculateComponentsPrice4BillingModeTransferRequest struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 计费项信息
	Components []*NewbillingComponentInfo4BillingModeTransfer `json:"components"`

	// 客户ID,即填入iaas的用户id,如果有设置客户折扣,则需要传入该参数.V1.2暂不支持客户折扣.
	CustomerID string `json:"customer_id,omitempty"`

	// 方案ID,兼容code.
	PlanID string `json:"plan_id,omitempty"`

	// 产品ID,兼容code.
	ProdID string `json:"prod_id,omitempty"`

	// 是否返回最简信息 默认值true
	Simplify bool `json:"simplify,omitempty"`
}

NewbillingCalculateComponentsPrice4BillingModeTransferRequest 4.CalculateComponentsPrice Start

swagger:model newbillingCalculateComponentsPrice4BillingModeTransferRequest

func (*NewbillingCalculateComponentsPrice4BillingModeTransferRequest) ContextValidate

ContextValidate validate this newbilling calculate components price4 billing mode transfer request based on the context it is used

func (*NewbillingCalculateComponentsPrice4BillingModeTransferRequest) MarshalBinary

MarshalBinary interface implementation

func (*NewbillingCalculateComponentsPrice4BillingModeTransferRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*NewbillingCalculateComponentsPrice4BillingModeTransferRequest) Validate

Validate validates this newbilling calculate components price4 billing mode transfer request

type NewbillingCalculateComponentsPriceRequest

type NewbillingCalculateComponentsPriceRequest struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 计费项信息
	Components []*NewbillingComponentInfo `json:"components"`

	// 客户ID,即填入iaas的用户id,如果有设置客户折扣,则需要传入该参数.V1.2暂不支持客户折扣.
	CustomerID string `json:"customer_id,omitempty"`

	// 方案ID,兼容code.
	PlanID string `json:"plan_id,omitempty"`

	// 产品ID,兼容code.
	ProdID string `json:"prod_id,omitempty"`

	// 是否返回最简信息 默认值true
	Simplify bool `json:"simplify,omitempty"`
}

NewbillingCalculateComponentsPriceRequest 3.CalculateComponentsPrice Start 请求-获取计费项价格

swagger:model newbillingCalculateComponentsPriceRequest

func (*NewbillingCalculateComponentsPriceRequest) ContextValidate

ContextValidate validate this newbilling calculate components price request based on the context it is used

func (*NewbillingCalculateComponentsPriceRequest) MarshalBinary

func (m *NewbillingCalculateComponentsPriceRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCalculateComponentsPriceRequest) UnmarshalBinary

func (m *NewbillingCalculateComponentsPriceRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCalculateComponentsPriceRequest) Validate

Validate validates this newbilling calculate components price request

type NewbillingCalculateCustomerDiscountRequest

type NewbillingCalculateCustomerDiscountRequest struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 计费项 - 计费方案由不同的计费项组成,一个计费方案可以有多个计费项。
	CompIds []string `json:"comp_ids"`

	// 客户ID @gotags:valid:"Required"
	CustomerID string `json:"customer_id,omitempty"`

	// 计费方案的ID
	PlanID string `json:"plan_id,omitempty"`

	// 产品ID - 如主机 prd_host。
	ProdID string `json:"prod_id,omitempty"`
}

NewbillingCalculateCustomerDiscountRequest 请求-计算客户折扣

swagger:model newbillingCalculateCustomerDiscountRequest

func (*NewbillingCalculateCustomerDiscountRequest) ContextValidate

ContextValidate validates this newbilling calculate customer discount request based on context it is used

func (*NewbillingCalculateCustomerDiscountRequest) MarshalBinary

func (m *NewbillingCalculateCustomerDiscountRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCalculateCustomerDiscountRequest) UnmarshalBinary

func (m *NewbillingCalculateCustomerDiscountRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCalculateCustomerDiscountRequest) Validate

Validate validates this newbilling calculate customer discount request

type NewbillingCalculateCustomerDiscountResponse

type NewbillingCalculateCustomerDiscountResponse struct {

	// 计费项折扣
	ComponentDiscountMap []*CalculateCustomerDiscountResponseCompDiscount `json:"component_discount_map"`

	// 客户ID
	CustomerID string `json:"customer_id,omitempty"`

	// 方案
	PlanID string `json:"plan_id,omitempty"`

	// 产品ID - 如主机 prd_host。
	ProdID string `json:"prod_id,omitempty"`
}

NewbillingCalculateCustomerDiscountResponse newbilling calculate customer discount response

swagger:model newbillingCalculateCustomerDiscountResponse

func (*NewbillingCalculateCustomerDiscountResponse) ContextValidate

ContextValidate validate this newbilling calculate customer discount response based on the context it is used

func (*NewbillingCalculateCustomerDiscountResponse) MarshalBinary

func (m *NewbillingCalculateCustomerDiscountResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCalculateCustomerDiscountResponse) UnmarshalBinary

func (m *NewbillingCalculateCustomerDiscountResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCalculateCustomerDiscountResponse) Validate

Validate validates this newbilling calculate customer discount response

type NewbillingCalculatePriceResponse

type NewbillingCalculatePriceResponse struct {

	// plan pricing
	PlanPricing *NewbillingPlanPricing `json:"plan_pricing,omitempty"`

	// prod code
	ProdCode string `json:"prod_code,omitempty"`

	// 产品ID
	ProdID string `json:"prod_id,omitempty"`

	// product
	Product *NewbillingProduct `json:"product,omitempty"`

	// product final price
	ProductFinalPrice float32 `json:"product_final_price,omitempty"`

	// product price
	ProductPrice float32 `json:"product_price,omitempty"`
}

NewbillingCalculatePriceResponse newbilling calculate price response

swagger:model newbillingCalculatePriceResponse

func (*NewbillingCalculatePriceResponse) ContextValidate

func (m *NewbillingCalculatePriceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling calculate price response based on the context it is used

func (*NewbillingCalculatePriceResponse) MarshalBinary

func (m *NewbillingCalculatePriceResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCalculatePriceResponse) UnmarshalBinary

func (m *NewbillingCalculatePriceResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCalculatePriceResponse) Validate

Validate validates this newbilling calculate price response

type NewbillingCalculateProductPriceRequest

type NewbillingCalculateProductPriceRequest struct {

	// 接入系统ID, nb内部调用须传,走gateway的外部请求不需要传
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 计费项的属性键值对 - 计费项由一组产品属性和属性值组成。
	AttrsIDValue []*NewbillingAttrIDValue `json:"attrs_id_value"`

	// 产品ID,兼容code.
	ProdID string `json:"prod_id,omitempty"`

	// 是否返回最简信息 默认值true
	Simplify bool `json:"simplify,omitempty"`
}

NewbillingCalculateProductPriceRequest 1.CalculateProductPrice start 请求-获取价格信息

swagger:model newbillingCalculateProductPriceRequest

func (*NewbillingCalculateProductPriceRequest) ContextValidate

ContextValidate validate this newbilling calculate product price request based on the context it is used

func (*NewbillingCalculateProductPriceRequest) MarshalBinary

func (m *NewbillingCalculateProductPriceRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCalculateProductPriceRequest) UnmarshalBinary

func (m *NewbillingCalculateProductPriceRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCalculateProductPriceRequest) Validate

Validate validates this newbilling calculate product price request

type NewbillingCalculateProductPriceResponse

type NewbillingCalculateProductPriceResponse struct {

	// 计费项单价
	ComponentCostMap map[string]NewbillingComponentCost `json:"component_cost_map,omitempty"`

	// 方案
	PlanID string `json:"plan_id,omitempty"`

	// 产品ID。
	ProdID string `json:"prod_id,omitempty"`

	// 折后总价
	TotalAmountPayable float32 `json:"total_amount_payable,omitempty"`

	// 总价
	TotalCost float32 `json:"total_cost,omitempty"`
}

NewbillingCalculateProductPriceResponse 返回-获取价格返回信息

swagger:model newbillingCalculateProductPriceResponse

func (*NewbillingCalculateProductPriceResponse) ContextValidate

ContextValidate validate this newbilling calculate product price response based on the context it is used

func (*NewbillingCalculateProductPriceResponse) MarshalBinary

func (m *NewbillingCalculateProductPriceResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCalculateProductPriceResponse) UnmarshalBinary

func (m *NewbillingCalculateProductPriceResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCalculateProductPriceResponse) Validate

Validate validates this newbilling calculate product price response

type NewbillingCancelPrdOrderRequest

type NewbillingCancelPrdOrderRequest struct {

	// force
	Force bool `json:"force,omitempty"`

	// 主订单ID
	OrderID string `json:"order_id,omitempty"`
}

NewbillingCancelPrdOrderRequest 取消主订单请求信息

swagger:model newbillingCancelPrdOrderRequest

func (*NewbillingCancelPrdOrderRequest) ContextValidate

func (m *NewbillingCancelPrdOrderRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling cancel prd order request based on context it is used

func (*NewbillingCancelPrdOrderRequest) MarshalBinary

func (m *NewbillingCancelPrdOrderRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCancelPrdOrderRequest) UnmarshalBinary

func (m *NewbillingCancelPrdOrderRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCancelPrdOrderRequest) Validate

Validate validates this newbilling cancel prd order request

type NewbillingCancelPrdOrderResponse

type NewbillingCancelPrdOrderResponse struct {

	// 主订单ID
	OrderID string `json:"order_id,omitempty"`
}

NewbillingCancelPrdOrderResponse 取消主订单返回信息

swagger:model newbillingCancelPrdOrderResponse

func (*NewbillingCancelPrdOrderResponse) ContextValidate

func (m *NewbillingCancelPrdOrderResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling cancel prd order response based on context it is used

func (*NewbillingCancelPrdOrderResponse) MarshalBinary

func (m *NewbillingCancelPrdOrderResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCancelPrdOrderResponse) UnmarshalBinary

func (m *NewbillingCancelPrdOrderResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCancelPrdOrderResponse) Validate

Validate validates this newbilling cancel prd order response

type NewbillingCatalog

type NewbillingCatalog struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 产品目录编码
	CataCode string `json:"cata_code,omitempty"`

	// 产品目录ID
	CataID string `json:"cata_id,omitempty"`

	// 创建时间
	// Format: date-time
	CreateTime *strfmt.DateTime `json:"create_time,omitempty"`

	// 显示序号
	DisplayOrder int64 `json:"display_order,omitempty"`

	// 产品目录的层级
	Level int64 `json:"level,omitempty"`

	// 产品目录名称
	Name string `json:"name,omitempty"`

	// 产品目录的父目录ID
	ParentCataID string `json:"parent_cata_id,omitempty"`

	// 产品目录的路径 -  例如:cata_iaas.cata_compute
	Path string `json:"path,omitempty"`

	// 更新时间
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"update_time,omitempty"`
}

NewbillingCatalog 产品目录

swagger:model newbillingCatalog

func (*NewbillingCatalog) ContextValidate

func (m *NewbillingCatalog) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling catalog based on context it is used

func (*NewbillingCatalog) MarshalBinary

func (m *NewbillingCatalog) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCatalog) UnmarshalBinary

func (m *NewbillingCatalog) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCatalog) Validate

func (m *NewbillingCatalog) Validate(formats strfmt.Registry) error

Validate validates this newbilling catalog

type NewbillingChangePasswdRequest

type NewbillingChangePasswdRequest struct {

	// 用户新密码
	PasswdNew string `json:"passwd_new,omitempty"`

	// 用户旧密码
	PasswdOld string `json:"passwd_old,omitempty"`
}

NewbillingChangePasswdRequest 修改用户密码请求信息

swagger:model newbillingChangePasswdRequest

func (*NewbillingChangePasswdRequest) ContextValidate

func (m *NewbillingChangePasswdRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling change passwd request based on context it is used

func (*NewbillingChangePasswdRequest) MarshalBinary

func (m *NewbillingChangePasswdRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingChangePasswdRequest) UnmarshalBinary

func (m *NewbillingChangePasswdRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingChangePasswdRequest) Validate

func (m *NewbillingChangePasswdRequest) Validate(formats strfmt.Registry) error

Validate validates this newbilling change passwd request

type NewbillingChangePasswdResponse

type NewbillingChangePasswdResponse struct {

	// 修改的用户ID
	UserID string `json:"user_id,omitempty"`
}

NewbillingChangePasswdResponse 修改用户密码返回信息

swagger:model newbillingChangePasswdResponse

func (*NewbillingChangePasswdResponse) ContextValidate

func (m *NewbillingChangePasswdResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling change passwd response based on context it is used

func (*NewbillingChangePasswdResponse) MarshalBinary

func (m *NewbillingChangePasswdResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingChangePasswdResponse) UnmarshalBinary

func (m *NewbillingChangePasswdResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingChangePasswdResponse) Validate

func (m *NewbillingChangePasswdResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling change passwd response

type NewbillingChangeProdInstanceConfigRequest

type NewbillingChangeProdInstanceConfigRequest struct {

	// component infos
	ComponentInfos []*NewbillingComponentInfo `json:"component_infos"`

	// 是否只计算差价 true:只计算差价,不会真正的改配 false:默认值,不计算差价,真正改配
	DisparityPrice bool `json:"disparity_price,omitempty"`

	// draw expire time
	DrawExpireTime bool `json:"draw_expire_time,omitempty"`

	// 通知中的事件时间
	// Format: date-time
	EventTime *strfmt.DateTime `json:"event_time,omitempty"`

	// extra info
	ExtraInfo string `json:"extra_info,omitempty"`

	// plan id
	PlanID string `json:"plan_id,omitempty"`

	// 外部产品实例ID
	ProdInstIDExt string `json:"prod_inst_id_ext,omitempty"`
}

NewbillingChangeProdInstanceConfigRequest 更改产品实例配置请求信息

swagger:model newbillingChangeProdInstanceConfigRequest

func (*NewbillingChangeProdInstanceConfigRequest) ContextValidate

ContextValidate validate this newbilling change prod instance config request based on the context it is used

func (*NewbillingChangeProdInstanceConfigRequest) MarshalBinary

func (m *NewbillingChangeProdInstanceConfigRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingChangeProdInstanceConfigRequest) UnmarshalBinary

func (m *NewbillingChangeProdInstanceConfigRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingChangeProdInstanceConfigRequest) Validate

Validate validates this newbilling change prod instance config request

type NewbillingChangeProdInstanceConfigResponse

type NewbillingChangeProdInstanceConfigResponse struct {

	// 主订单应付金额
	AmountPayable float32 `json:"amount_payable,omitempty"`

	// 主订单原价
	Cost float32 `json:"cost,omitempty"`

	// 计算差价后各计费项的差价明细,当disparity_price为true时才生效有数据
	DisparityPriceDetails []*NewbillingDisparityPriceDetail `json:"disparity_price_details"`

	// 主订单ID
	OrderID string `json:"order_id,omitempty"`

	// 主订单状态- 待支付、已支付、作废
	OrderStatus string `json:"order_status,omitempty"`
}

NewbillingChangeProdInstanceConfigResponse newbilling change prod instance config response

swagger:model newbillingChangeProdInstanceConfigResponse

func (*NewbillingChangeProdInstanceConfigResponse) ContextValidate

ContextValidate validate this newbilling change prod instance config response based on the context it is used

func (*NewbillingChangeProdInstanceConfigResponse) MarshalBinary

func (m *NewbillingChangeProdInstanceConfigResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingChangeProdInstanceConfigResponse) UnmarshalBinary

func (m *NewbillingChangeProdInstanceConfigResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingChangeProdInstanceConfigResponse) Validate

Validate validates this newbilling change prod instance config response

type NewbillingCharge

type NewbillingCharge struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 账单ID
	BillID string `json:"bill_id,omitempty"`

	// 支付金额
	ChargeAmount float32 `json:"charge_amount,omitempty"`

	// 支付渠道- 余额、直付、外部
	ChargeChannel string `json:"charge_channel,omitempty"`

	// 支付记录ID
	ChargeID string `json:"charge_id,omitempty"`

	// 支付状态
	ChargeStatus string `json:"charge_status,omitempty"`

	// 支付记录创建时间
	// Format: date-time
	CreateTime *strfmt.DateTime `json:"create_time,omitempty"`

	// 支付记录创建人
	CreatedBy string `json:"created_by,omitempty"`

	// 支付货币单位
	CurrencyCode string `json:"currency_code,omitempty"`

	// 额外信息
	ExtraInfo string `json:"extra_info,omitempty"`

	// 付款类型- charging 支付,recharge 充值
	PayType string `json:"pay_type,omitempty"`

	// 备注
	Remarks string `json:"remarks,omitempty"`

	// 第三方支付交易号
	TradeNo string `json:"trade_no,omitempty"`

	// 支付记录更新时间
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"update_time,omitempty"`

	// 用户ID
	UserID string `json:"user_id,omitempty"`
}

NewbillingCharge 支付记录

swagger:model newbillingCharge

func (*NewbillingCharge) ContextValidate

func (m *NewbillingCharge) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling charge based on context it is used

func (*NewbillingCharge) MarshalBinary

func (m *NewbillingCharge) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCharge) UnmarshalBinary

func (m *NewbillingCharge) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCharge) Validate

func (m *NewbillingCharge) Validate(formats strfmt.Registry) error

Validate validates this newbilling charge

type NewbillingChargeAlipayReturnRequest

type NewbillingChargeAlipayReturnRequest struct {

	// access sys id
	AccessSysID string `json:"access_sys_id,omitempty"`

	// amount
	Amount string `json:"amount,omitempty"`

	// currency
	Currency string `json:"currency,omitempty"`

	// order id
	OrderID string `json:"order_id,omitempty"`

	// out trade no
	OutTradeNo string `json:"out_trade_no,omitempty"`

	// passback
	Passback string `json:"passback,omitempty"`

	// pay channel
	PayChannel string `json:"pay_channel,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// trade no
	TradeNo string `json:"trade_no,omitempty"`
}

NewbillingChargeAlipayReturnRequest 支付宝回调请求信息

swagger:model newbillingChargeAlipayReturnRequest

func (*NewbillingChargeAlipayReturnRequest) ContextValidate

func (m *NewbillingChargeAlipayReturnRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling charge alipay return request based on context it is used

func (*NewbillingChargeAlipayReturnRequest) MarshalBinary

func (m *NewbillingChargeAlipayReturnRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingChargeAlipayReturnRequest) UnmarshalBinary

func (m *NewbillingChargeAlipayReturnRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingChargeAlipayReturnRequest) Validate

Validate validates this newbilling charge alipay return request

type NewbillingChargeAlipayReturnResponse

type NewbillingChargeAlipayReturnResponse struct {

	// charge id
	ChargeID string `json:"charge_id,omitempty"`
}

NewbillingChargeAlipayReturnResponse 支付宝回调返回信息

swagger:model newbillingChargeAlipayReturnResponse

func (*NewbillingChargeAlipayReturnResponse) ContextValidate

func (m *NewbillingChargeAlipayReturnResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling charge alipay return response based on context it is used

func (*NewbillingChargeAlipayReturnResponse) MarshalBinary

func (m *NewbillingChargeAlipayReturnResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingChargeAlipayReturnResponse) UnmarshalBinary

func (m *NewbillingChargeAlipayReturnResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingChargeAlipayReturnResponse) Validate

Validate validates this newbilling charge alipay return response

type NewbillingChargePrdOrderCallbackResponse

type NewbillingChargePrdOrderCallbackResponse interface{}

NewbillingChargePrdOrderCallbackResponse newbilling charge prd order callback response

swagger:model newbillingChargePrdOrderCallbackResponse

type NewbillingChargePrdOrderRequest

type NewbillingChargePrdOrderRequest struct {

	// 通知中的事件时间
	// Format: date-time
	EventTime *strfmt.DateTime `json:"event_time,omitempty"`

	// 是否由pitrix-billing-order的订单触发
	IsOrderResource bool `json:"is_order_resource,omitempty"`

	// 主订单ID
	OrderID string `json:"order_id,omitempty"`
}

NewbillingChargePrdOrderRequest 支付主订单请求信息

swagger:model newbillingChargePrdOrderRequest

func (*NewbillingChargePrdOrderRequest) ContextValidate

func (m *NewbillingChargePrdOrderRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling charge prd order request based on context it is used

func (*NewbillingChargePrdOrderRequest) MarshalBinary

func (m *NewbillingChargePrdOrderRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingChargePrdOrderRequest) UnmarshalBinary

func (m *NewbillingChargePrdOrderRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingChargePrdOrderRequest) Validate

Validate validates this newbilling charge prd order request

type NewbillingChargePrdOrderResponse

type NewbillingChargePrdOrderResponse struct {

	// 主订单ID
	OrderID string `json:"order_id,omitempty"`
}

NewbillingChargePrdOrderResponse 支付主订单返回信息

swagger:model newbillingChargePrdOrderResponse

func (*NewbillingChargePrdOrderResponse) ContextValidate

func (m *NewbillingChargePrdOrderResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling charge prd order response based on context it is used

func (*NewbillingChargePrdOrderResponse) MarshalBinary

func (m *NewbillingChargePrdOrderResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingChargePrdOrderResponse) UnmarshalBinary

func (m *NewbillingChargePrdOrderResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingChargePrdOrderResponse) Validate

Validate validates this newbilling charge prd order response

type NewbillingChargeResourcePackageOrderRequest

type NewbillingChargeResourcePackageOrderRequest struct {

	// is order resource
	IsOrderResource bool `json:"is_order_resource,omitempty"`

	// order id
	OrderID string `json:"order_id,omitempty"`
}

NewbillingChargeResourcePackageOrderRequest newbilling charge resource package order request

swagger:model newbillingChargeResourcePackageOrderRequest

func (*NewbillingChargeResourcePackageOrderRequest) ContextValidate

ContextValidate validates this newbilling charge resource package order request based on context it is used

func (*NewbillingChargeResourcePackageOrderRequest) MarshalBinary

func (m *NewbillingChargeResourcePackageOrderRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingChargeResourcePackageOrderRequest) UnmarshalBinary

func (m *NewbillingChargeResourcePackageOrderRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingChargeResourcePackageOrderRequest) Validate

Validate validates this newbilling charge resource package order request

type NewbillingChargeResourcePackageOrderResponse

type NewbillingChargeResourcePackageOrderResponse struct {

	// 主订单ID
	OrderID string `json:"order_id,omitempty"`
}

NewbillingChargeResourcePackageOrderResponse newbilling charge resource package order response

swagger:model newbillingChargeResourcePackageOrderResponse

func (*NewbillingChargeResourcePackageOrderResponse) ContextValidate

ContextValidate validates this newbilling charge resource package order response based on context it is used

func (*NewbillingChargeResourcePackageOrderResponse) MarshalBinary

MarshalBinary interface implementation

func (*NewbillingChargeResourcePackageOrderResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*NewbillingChargeResourcePackageOrderResponse) Validate

Validate validates this newbilling charge resource package order response

type NewbillingChargedCallbackResponse

type NewbillingChargedCallbackResponse struct {

	// 主订单ID
	OrderID string `json:"order_id,omitempty"`
}

NewbillingChargedCallbackResponse newbilling charged callback response

swagger:model newbillingChargedCallbackResponse

func (*NewbillingChargedCallbackResponse) ContextValidate

func (m *NewbillingChargedCallbackResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling charged callback response based on context it is used

func (*NewbillingChargedCallbackResponse) MarshalBinary

func (m *NewbillingChargedCallbackResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingChargedCallbackResponse) UnmarshalBinary

func (m *NewbillingChargedCallbackResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingChargedCallbackResponse) Validate

Validate validates this newbilling charged callback response

type NewbillingCheckCustomerCurrencyExpireResponse

type NewbillingCheckCustomerCurrencyExpireResponse struct {

	// customer currency ids
	CustomerCurrencyIds []string `json:"customer_currency_ids"`
}

NewbillingCheckCustomerCurrencyExpireResponse newbilling check customer currency expire response

swagger:model newbillingCheckCustomerCurrencyExpireResponse

func (*NewbillingCheckCustomerCurrencyExpireResponse) ContextValidate

ContextValidate validates this newbilling check customer currency expire response based on context it is used

func (*NewbillingCheckCustomerCurrencyExpireResponse) MarshalBinary

MarshalBinary interface implementation

func (*NewbillingCheckCustomerCurrencyExpireResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*NewbillingCheckCustomerCurrencyExpireResponse) Validate

Validate validates this newbilling check customer currency expire response

type NewbillingCheckEventHealthyAck

type NewbillingCheckEventHealthyAck interface{}

NewbillingCheckEventHealthyAck newbilling check event healthy ack

swagger:model newbillingCheckEventHealthyAck

type NewbillingCheckExportFileResponse

type NewbillingCheckExportFileResponse struct {

	// exist
	Exist bool `json:"exist,omitempty"`
}

NewbillingCheckExportFileResponse newbilling check export file response

swagger:model newbillingCheckExportFileResponse

func (*NewbillingCheckExportFileResponse) ContextValidate

func (m *NewbillingCheckExportFileResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling check export file response based on context it is used

func (*NewbillingCheckExportFileResponse) MarshalBinary

func (m *NewbillingCheckExportFileResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCheckExportFileResponse) UnmarshalBinary

func (m *NewbillingCheckExportFileResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCheckExportFileResponse) Validate

Validate validates this newbilling check export file response

type NewbillingCollectData

type NewbillingCollectData struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 采集值
	Amount float32 `json:"amount,omitempty"`

	// 计量指标属性ID
	AttrID string `json:"attr_id,omitempty"`

	// 采集记录ID
	CollectDataID string `json:"collect_data_id,omitempty"`

	// 采集事件ID
	CollectEventID string `json:"collect_event_id,omitempty"`

	// 创建时间
	// Format: date-time
	CreateTime *strfmt.DateTime `json:"create_time,omitempty"`

	// 结束时间
	// Format: date-time
	EndTime *strfmt.DateTime `json:"end_time,omitempty"`

	// 产品ID
	ProdID string `json:"prod_id,omitempty"`

	// 资源ID
	ProdInstIDExt string `json:"prod_inst_id_ext,omitempty"`

	// 开始时间
	// Format: date-time
	StartTime *strfmt.DateTime `json:"start_time,omitempty"`

	// 计量指标
	Target string `json:"target,omitempty"`

	// 更新时间
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"update_time,omitempty"`
}

NewbillingCollectData newbilling collect data

swagger:model newbillingCollectData

func (*NewbillingCollectData) ContextValidate

func (m *NewbillingCollectData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling collect data based on context it is used

func (*NewbillingCollectData) MarshalBinary

func (m *NewbillingCollectData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCollectData) UnmarshalBinary

func (m *NewbillingCollectData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCollectData) Validate

func (m *NewbillingCollectData) Validate(formats strfmt.Registry) error

Validate validates this newbilling collect data

type NewbillingCollectDataUnit

type NewbillingCollectDataUnit struct {

	// 采集值
	Amount float32 `json:"amount,omitempty"`

	// 结束时间
	// Format: date-time
	EndTime *strfmt.DateTime `json:"end_time,omitempty"`

	// 开始时间
	// Format: date-time
	StartTime *strfmt.DateTime `json:"start_time,omitempty"`
}

NewbillingCollectDataUnit newbilling collect data unit

swagger:model newbillingCollectDataUnit

func (*NewbillingCollectDataUnit) ContextValidate

func (m *NewbillingCollectDataUnit) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling collect data unit based on context it is used

func (*NewbillingCollectDataUnit) MarshalBinary

func (m *NewbillingCollectDataUnit) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCollectDataUnit) UnmarshalBinary

func (m *NewbillingCollectDataUnit) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCollectDataUnit) Validate

func (m *NewbillingCollectDataUnit) Validate(formats strfmt.Registry) error

Validate validates this newbilling collect data unit

type NewbillingCollectDataUnits

type NewbillingCollectDataUnits struct {

	// data set
	DataSet []*NewbillingCollectDataUnit `json:"data_set"`
}

NewbillingCollectDataUnits newbilling collect data units

swagger:model newbillingCollectDataUnits

func (*NewbillingCollectDataUnits) ContextValidate

func (m *NewbillingCollectDataUnits) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling collect data units based on the context it is used

func (*NewbillingCollectDataUnits) MarshalBinary

func (m *NewbillingCollectDataUnits) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCollectDataUnits) UnmarshalBinary

func (m *NewbillingCollectDataUnits) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCollectDataUnits) Validate

func (m *NewbillingCollectDataUnits) Validate(formats strfmt.Registry) error

Validate validates this newbilling collect data units

type NewbillingCollectEvent

type NewbillingCollectEvent struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 采集事件ID
	CollectEventID string `json:"collect_event_id,omitempty"`

	// 创建时间
	// Format: date-time
	CreateTime *strfmt.DateTime `json:"create_time,omitempty"`

	// 结束时间
	// Format: date-time
	EndTime *strfmt.DateTime `json:"end_time,omitempty"`

	// 产品ID
	ProdID string `json:"prod_id,omitempty"`

	// 资源ID
	ProdInstIDExt string `json:"prod_inst_id_ext,omitempty"`

	// 重试次数
	RetryTimes int32 `json:"retry_times,omitempty"`

	// 开始时间
	// Format: date-time
	StartTime *strfmt.DateTime `json:"start_time,omitempty"`

	// 事件状态
	Status string `json:"status,omitempty"`

	// 状态变更时间
	// Format: date-time
	StatusTime *strfmt.DateTime `json:"status_time,omitempty"`

	// 更新时间
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"update_time,omitempty"`
}

NewbillingCollectEvent newbilling collect event

swagger:model newbillingCollectEvent

func (*NewbillingCollectEvent) ContextValidate

func (m *NewbillingCollectEvent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling collect event based on context it is used

func (*NewbillingCollectEvent) MarshalBinary

func (m *NewbillingCollectEvent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCollectEvent) UnmarshalBinary

func (m *NewbillingCollectEvent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCollectEvent) Validate

func (m *NewbillingCollectEvent) Validate(formats strfmt.Registry) error

Validate validates this newbilling collect event

type NewbillingCollectItem

type NewbillingCollectItem struct {

	// access sys id
	AccessSysID string `json:"access_sys_id,omitempty"`

	// collect item id
	CollectItemID string `json:"collect_item_id,omitempty"`

	// collect time
	// Format: date-time
	CollectTime *strfmt.DateTime `json:"collect_time,omitempty"`

	// create time
	// Format: date-time
	CreateTime *strfmt.DateTime `json:"create_time,omitempty"`

	// duration
	Duration int32 `json:"duration,omitempty"`

	// is calendar
	IsCalendar int32 `json:"is_calendar,omitempty"`

	// job id
	JobID string `json:"job_id,omitempty"`

	// next collect time
	// Format: date-time
	NextCollectTime *strfmt.DateTime `json:"next_collect_time,omitempty"`

	// offset
	Offset int32 `json:"offset,omitempty"`

	// prod id
	ProdID string `json:"prod_id,omitempty"`

	// prod inst id ext
	ProdInstIDExt string `json:"prod_inst_id_ext,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// update time
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"update_time,omitempty"`
}

NewbillingCollectItem newbilling collect item

swagger:model newbillingCollectItem

func (*NewbillingCollectItem) ContextValidate

func (m *NewbillingCollectItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling collect item based on context it is used

func (*NewbillingCollectItem) MarshalBinary

func (m *NewbillingCollectItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCollectItem) UnmarshalBinary

func (m *NewbillingCollectItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCollectItem) Validate

func (m *NewbillingCollectItem) Validate(formats strfmt.Registry) error

Validate validates this newbilling collect item

type NewbillingCompID

type NewbillingCompID struct {

	// comp id
	CompID string `json:"comp_id,omitempty"`

	// strategy ids
	StrategyIds []string `json:"strategy_ids"`
}

NewbillingCompID newbilling comp Id

swagger:model newbillingCompId

func (*NewbillingCompID) ContextValidate

func (m *NewbillingCompID) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling comp Id based on context it is used

func (*NewbillingCompID) MarshalBinary

func (m *NewbillingCompID) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCompID) UnmarshalBinary

func (m *NewbillingCompID) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCompID) Validate

func (m *NewbillingCompID) Validate(formats strfmt.Registry) error

Validate validates this newbilling comp Id

type NewbillingCompIDAndCode

type NewbillingCompIDAndCode struct {

	// code
	Code string `json:"code,omitempty"`

	// id
	ID string `json:"id,omitempty"`
}

NewbillingCompIDAndCode newbilling comp Id and code

swagger:model newbillingCompIdAndCode

func (*NewbillingCompIDAndCode) ContextValidate

func (m *NewbillingCompIDAndCode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling comp Id and code based on context it is used

func (*NewbillingCompIDAndCode) MarshalBinary

func (m *NewbillingCompIDAndCode) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCompIDAndCode) UnmarshalBinary

func (m *NewbillingCompIDAndCode) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCompIDAndCode) Validate

func (m *NewbillingCompIDAndCode) Validate(formats strfmt.Registry) error

Validate validates this newbilling comp Id and code

type NewbillingCompInfo

type NewbillingCompInfo struct {

	// comp link code
	CompLinkCode string `json:"comp_link_code,omitempty"`

	// component
	Component *NewbillingCreateComponentRequest `json:"component,omitempty"`

	// strateies
	Strateies []*NewbillingCreateStrategyRequest `json:"strateies"`
}

NewbillingCompInfo newbilling comp info

swagger:model newbillingCompInfo

func (*NewbillingCompInfo) ContextValidate

func (m *NewbillingCompInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling comp info based on the context it is used

func (*NewbillingCompInfo) MarshalBinary

func (m *NewbillingCompInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCompInfo) UnmarshalBinary

func (m *NewbillingCompInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCompInfo) Validate

func (m *NewbillingCompInfo) Validate(formats strfmt.Registry) error

Validate validates this newbilling comp info

type NewbillingComponent

type NewbillingComponent struct {

	// 计费模式 - 按包-按资源包;按包-按时间包;按量-按时间使用量;按量-按资源使用量
	BillingMode string `json:"billing_mode,omitempty"`

	// 计费项编码
	CompCode string `json:"comp_code,omitempty"`

	// 计费项ID
	CompID string `json:"comp_id,omitempty"`

	// 创建时间
	// Format: date-time
	CreateTime *strfmt.DateTime `json:"create_time,omitempty"`

	// 计费项描述
	Description string `json:"description,omitempty"`

	// 关联的计费项id
	MappingCompID string `json:"mapping_comp_id,omitempty"`

	// 关联的计费项名称
	MappingName string `json:"mapping_name,omitempty"`

	// 计费项名称
	Name string `json:"name,omitempty"`

	// 方案ID
	PlanID string `json:"plan_id,omitempty"`

	// 计费项position
	Position int64 `json:"position,omitempty"`

	// 产品ID
	ProdID string `json:"prod_id,omitempty"`

	// 资源包类型
	ResourcePkgType string `json:"resource_pkg_type,omitempty"`

	// 更新时间
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"update_time,omitempty"`
}

NewbillingComponent 计费项

swagger:model newbillingComponent

func (*NewbillingComponent) ContextValidate

func (m *NewbillingComponent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling component based on context it is used

func (*NewbillingComponent) MarshalBinary

func (m *NewbillingComponent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingComponent) UnmarshalBinary

func (m *NewbillingComponent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingComponent) Validate

func (m *NewbillingComponent) Validate(formats strfmt.Registry) error

Validate validates this newbilling component

type NewbillingComponentAttribute

type NewbillingComponentAttribute struct {

	// attr id
	AttrID string `json:"attr_id,omitempty"`

	// attr name
	AttrName string `json:"attr_name,omitempty"`

	// attr value
	AttrValue string `json:"attr_value,omitempty"`

	// unit
	Unit string `json:"unit,omitempty"`

	// value type
	ValueType string `json:"value_type,omitempty"`
}

NewbillingComponentAttribute newbilling component attribute

swagger:model newbillingComponentAttribute

func (*NewbillingComponentAttribute) ContextValidate

func (m *NewbillingComponentAttribute) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling component attribute based on context it is used

func (*NewbillingComponentAttribute) MarshalBinary

func (m *NewbillingComponentAttribute) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingComponentAttribute) UnmarshalBinary

func (m *NewbillingComponentAttribute) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingComponentAttribute) Validate

func (m *NewbillingComponentAttribute) Validate(formats strfmt.Registry) error

Validate validates this newbilling component attribute

type NewbillingComponentCost

type NewbillingComponentCost struct {

	// 应付金额
	AmountPayable float32 `json:"amount_payable,omitempty"`

	// 命中策略下的属性列表
	Attrs []*NewbillingCostAttribute `json:"attrs"`

	// 基础折扣
	BasicDiscount float32 `json:"basic_discount,omitempty"`

	// 计费模式 - 按包-按资源包;按包-按时间包;按量-按时间使用量;按量-按资源使用量
	BillingMode string `json:"billing_mode,omitempty"`

	// 计费项ID
	CompID string `json:"comp_id,omitempty"`

	// 计费项名称
	CompName string `json:"comp_name,omitempty"`

	// 金额
	Cost float32 `json:"cost,omitempty"`

	// 计费项描述
	Description string `json:"description,omitempty"`

	// 按包-按时间包的超时时间
	PackageTimeOut string `json:"package_time_out,omitempty"`
}

NewbillingComponentCost newbilling component cost

swagger:model newbillingComponentCost

func (*NewbillingComponentCost) ContextValidate

func (m *NewbillingComponentCost) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling component cost based on the context it is used

func (*NewbillingComponentCost) MarshalBinary

func (m *NewbillingComponentCost) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingComponentCost) UnmarshalBinary

func (m *NewbillingComponentCost) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingComponentCost) Validate

func (m *NewbillingComponentCost) Validate(formats strfmt.Registry) error

Validate validates this newbilling component cost

type NewbillingComponentInfo

type NewbillingComponentInfo struct {

	// 计费项的属性键值对 - 计费项由一组产品属性和属性值组成。
	Attrs []*NewbillingAttrIDValue `json:"attrs"`

	// 计费项ID
	CompID string `json:"comp_id,omitempty"`
}

NewbillingComponentInfo newbilling component info

swagger:model newbillingComponentInfo

func (*NewbillingComponentInfo) ContextValidate

func (m *NewbillingComponentInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling component info based on the context it is used

func (*NewbillingComponentInfo) MarshalBinary

func (m *NewbillingComponentInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingComponentInfo) UnmarshalBinary

func (m *NewbillingComponentInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingComponentInfo) Validate

func (m *NewbillingComponentInfo) Validate(formats strfmt.Registry) error

Validate validates this newbilling component info

type NewbillingComponentInfo4BillingModeTransfer

type NewbillingComponentInfo4BillingModeTransfer struct {

	// 计费项的属性键值对 - 计费项由一组产品属性和属性值组成。
	Attrs []*NewbillingAttrIDValue `json:"attrs"`

	// 计费模式转换方式:1为时间包转时间量 2位时间量转时间包
	CmpsBillingModeTransferType string `json:"cmps_billing_mode_transfer_type,omitempty"`

	// 转时间包后月数,如果cmps_billing_mode_transfer_type是2,需要传入转时间包后月数
	CompDuration string `json:"comp_duration,omitempty"`

	// 计费项ID,兼容code.
	CompID string `json:"comp_id,omitempty"`
}

NewbillingComponentInfo4BillingModeTransfer newbilling component info4 billing mode transfer

swagger:model newbillingComponentInfo4BillingModeTransfer

func (*NewbillingComponentInfo4BillingModeTransfer) ContextValidate

ContextValidate validate this newbilling component info4 billing mode transfer based on the context it is used

func (*NewbillingComponentInfo4BillingModeTransfer) MarshalBinary

func (m *NewbillingComponentInfo4BillingModeTransfer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingComponentInfo4BillingModeTransfer) UnmarshalBinary

func (m *NewbillingComponentInfo4BillingModeTransfer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingComponentInfo4BillingModeTransfer) Validate

Validate validates this newbilling component info4 billing mode transfer

type NewbillingComponentOfPricingSimpleAttr

type NewbillingComponentOfPricingSimpleAttr struct {

	// 属性ID
	AttrID string `json:"attr_id,omitempty"`

	// 属性单位
	Uint string `json:"uint,omitempty"`
}

NewbillingComponentOfPricingSimpleAttr newbilling component of pricing simple attr

swagger:model newbillingComponentOfPricingSimpleAttr

func (*NewbillingComponentOfPricingSimpleAttr) ContextValidate

ContextValidate validates this newbilling component of pricing simple attr based on context it is used

func (*NewbillingComponentOfPricingSimpleAttr) MarshalBinary

func (m *NewbillingComponentOfPricingSimpleAttr) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingComponentOfPricingSimpleAttr) UnmarshalBinary

func (m *NewbillingComponentOfPricingSimpleAttr) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingComponentOfPricingSimpleAttr) Validate

Validate validates this newbilling component of pricing simple attr

type NewbillingComponentOfPricingSimpleFilter

type NewbillingComponentOfPricingSimpleFilter struct {

	// 条件ID 编辑时不能为空
	FilterID string `json:"filter_id,omitempty"`

	// 条件左值,规格=(计费项关联的属性的值attr_id), 有效期=(patr_PackageMonth:月|patr_PackageDay:天)
	LeftValue string `json:"left_value,omitempty"`

	// 操作符
	Operator string `json:"operator,omitempty"`

	// 条件右值
	RightValue string `json:"right_value,omitempty"`
}

NewbillingComponentOfPricingSimpleFilter newbilling component of pricing simple filter

swagger:model newbillingComponentOfPricingSimpleFilter

func (*NewbillingComponentOfPricingSimpleFilter) ContextValidate

ContextValidate validates this newbilling component of pricing simple filter based on context it is used

func (*NewbillingComponentOfPricingSimpleFilter) MarshalBinary

func (m *NewbillingComponentOfPricingSimpleFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingComponentOfPricingSimpleFilter) UnmarshalBinary

func (m *NewbillingComponentOfPricingSimpleFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingComponentOfPricingSimpleFilter) Validate

Validate validates this newbilling component of pricing simple filter

type NewbillingComponentOfPricingSimpleRequest

type NewbillingComponentOfPricingSimpleRequest struct {

	// 接入系统ID仅super user有效,接入系统管理员/成员会默认用当前登陆的接入系统
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 计费模式 @gotags:valid:"OneOf(package_time,package_resource,usage_resource,usage_time)"
	BillingMode string `json:"billing_mode,omitempty"`

	// 计费项CODE
	CompCode string `json:"comp_code,omitempty"`

	// 计费项目ID
	CompID string `json:"comp_id,omitempty"`

	// 计费项名称,选中的属性名称 @gotags: valid:"Required;MaxSize(30)"
	Name string `json:"name,omitempty"`

	// 计费方案ID @gotags: valid:"Required"
	PlanID string `json:"plan_id,omitempty"`

	// 定价模型 @gotags: valid:"OneOf(standard,enum)"
	PricingMode string `json:"pricing_mode,omitempty"`

	// 产品ID @gotags: valid:"Required"
	ProdID string `json:"prod_id,omitempty"`

	// 资源包类型bill_mode=package_resource 时有效,normal=普通资源包(流量包),storage=存储包,@gotags:valid:"OneOf(normal,storage)"
	ResourcePkgType string `json:"resource_pkg_type,omitempty"`

	// 策略 @gotags: valid:"Required"
	Strategys []*NewbillingComponentOfPricingSimpleStrategy `json:"strategys"`
}

NewbillingComponentOfPricingSimpleRequest ComponentOfPricingSimpleRequest

简单定价转换公式定价规则:

# 时间包公式条件 标准定价: 1.公式>单价*包月数*属性 2.条件> 包月数 枚举定价: 1.公式>单价*包月数 2.条件>属性&&包月数

# 时间量公式条件 标准定价: 1.公式>单价*小时数*属性 2.条件> 无 枚举定价: 1.公式>单价*小时数 2.条件>属性

# 资源包公式条件 枚举定价 : 1.公式>单价 2.条件>计量属性&&有效期

# 资源量公式条件 标准定价 : 1.公式>单价*计量属性 2.条件>无

# billing mode 按 billing mode 来区分,时间包时间量 > 非计量属性,资源包资源量 > 计量属性

# 操作符 ==, !=, >, >=,&lt, &lt=, in, not in

swagger:model newbillingComponentOfPricingSimpleRequest

func (*NewbillingComponentOfPricingSimpleRequest) ContextValidate

ContextValidate validate this newbilling component of pricing simple request based on the context it is used

func (*NewbillingComponentOfPricingSimpleRequest) MarshalBinary

func (m *NewbillingComponentOfPricingSimpleRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingComponentOfPricingSimpleRequest) UnmarshalBinary

func (m *NewbillingComponentOfPricingSimpleRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingComponentOfPricingSimpleRequest) Validate

Validate validates this newbilling component of pricing simple request

type NewbillingComponentOfPricingSimpleResponse

type NewbillingComponentOfPricingSimpleResponse struct {

	// 计费项目ID 编辑时不能为空
	CompID string `json:"comp_id,omitempty"`

	// 策略ID
	StrategyID []string `json:"strategy_id"`
}

NewbillingComponentOfPricingSimpleResponse newbilling component of pricing simple response

swagger:model newbillingComponentOfPricingSimpleResponse

func (*NewbillingComponentOfPricingSimpleResponse) ContextValidate

ContextValidate validates this newbilling component of pricing simple response based on context it is used

func (*NewbillingComponentOfPricingSimpleResponse) MarshalBinary

func (m *NewbillingComponentOfPricingSimpleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingComponentOfPricingSimpleResponse) UnmarshalBinary

func (m *NewbillingComponentOfPricingSimpleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingComponentOfPricingSimpleResponse) Validate

Validate validates this newbilling component of pricing simple response

type NewbillingComponentOfPricingSimpleStrategy

type NewbillingComponentOfPricingSimpleStrategy struct {

	// 折扣
	BasicDiscount float32 `json:"basic_discount,omitempty"`

	// 总价 策略公式
	CostExpression string `json:"cost_expression,omitempty"`

	// 条件表达式 前端不填
	FilterExpression string `json:"filter_expression,omitempty"`

	// 条件
	Filters []*NewbillingComponentOfPricingSimpleFilter `json:"filters"`

	// 策略名称
	Name string `json:"name,omitempty"`

	// 策略标记
	Remark string `json:"remark,omitempty"`

	// 策略code
	StrategyCode string `json:"strategy_code,omitempty"`

	// 策略ID 编辑时不能为空
	StrategyID string `json:"strategy_id,omitempty"`
}

NewbillingComponentOfPricingSimpleStrategy newbilling component of pricing simple strategy

swagger:model newbillingComponentOfPricingSimpleStrategy

func (*NewbillingComponentOfPricingSimpleStrategy) ContextValidate

ContextValidate validate this newbilling component of pricing simple strategy based on the context it is used

func (*NewbillingComponentOfPricingSimpleStrategy) MarshalBinary

func (m *NewbillingComponentOfPricingSimpleStrategy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingComponentOfPricingSimpleStrategy) UnmarshalBinary

func (m *NewbillingComponentOfPricingSimpleStrategy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingComponentOfPricingSimpleStrategy) Validate

Validate validates this newbilling component of pricing simple strategy

type NewbillingComponentPricing

type NewbillingComponentPricing struct {

	// attr pricing set
	AttrPricingSet []*NewbillingAttribute `json:"attr_pricing_set"`

	// 基础折扣
	CompBasicDiscount float32 `json:"comp_basic_discount,omitempty"`

	// comp code
	CompCode string `json:"comp_code,omitempty"`

	// 客户折扣
	CompCustomerDiscount float32 `json:"comp_customer_discount,omitempty"`

	// comp customer discount mode
	CompCustomerDiscountMode string `json:"comp_customer_discount_mode,omitempty"`

	// comp final price
	CompFinalPrice float32 `json:"comp_final_price,omitempty"`

	// comp id
	CompID string `json:"comp_id,omitempty"`

	// comp price
	CompPrice float32 `json:"comp_price,omitempty"`

	// component
	Component *NewbillingComponent `json:"component,omitempty"`

	// 实际参与计算的折扣
	Discount float32 `json:"discount,omitempty"`

	// strategy pricing set
	StrategyPricingSet []*NewbillingStrategyPricing `json:"strategy_pricing_set"`
}

NewbillingComponentPricing newbilling component pricing

swagger:model newbillingComponentPricing

func (*NewbillingComponentPricing) ContextValidate

func (m *NewbillingComponentPricing) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling component pricing based on the context it is used

func (*NewbillingComponentPricing) MarshalBinary

func (m *NewbillingComponentPricing) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingComponentPricing) UnmarshalBinary

func (m *NewbillingComponentPricing) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingComponentPricing) Validate

func (m *NewbillingComponentPricing) Validate(formats strfmt.Registry) error

Validate validates this newbilling component pricing

type NewbillingComponentsOfPricingSimpleItem

type NewbillingComponentsOfPricingSimpleItem struct {

	// 计费项关联属性
	Associate *NewbillingComponentOfPricingSimpleAttr `json:"associate,omitempty"`

	// 计费模式
	BillingMode string `json:"billing_mode,omitempty"`

	// 计费项code
	CompCode string `json:"comp_code,omitempty"`

	// 计费项ID
	CompID string `json:"comp_id,omitempty"`

	// 关联计费项Id
	MappingCompID string `json:"mapping_comp_id,omitempty"`

	// 关联计费项名称
	MappingName string `json:"mapping_name,omitempty"`

	// 计费项名称
	Name string `json:"name,omitempty"`

	// 计费方案ID
	PlanID string `json:"plan_id,omitempty"`

	// 定价模型
	PricingMode string `json:"pricing_mode,omitempty"`

	// 产品ID
	ProdID string `json:"prod_id,omitempty"`

	// 资源包类型
	ResourcePkgType string `json:"resource_pkg_type,omitempty"`

	// 计费项下策略
	Strategies []*NewbillingComponentOfPricingSimpleStrategy `json:"strategies"`

	// 更新时间
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"update_time,omitempty"`
}

NewbillingComponentsOfPricingSimpleItem newbilling components of pricing simple item

swagger:model newbillingComponentsOfPricingSimpleItem

func (*NewbillingComponentsOfPricingSimpleItem) ContextValidate

ContextValidate validate this newbilling components of pricing simple item based on the context it is used

func (*NewbillingComponentsOfPricingSimpleItem) MarshalBinary

func (m *NewbillingComponentsOfPricingSimpleItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingComponentsOfPricingSimpleItem) UnmarshalBinary

func (m *NewbillingComponentsOfPricingSimpleItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingComponentsOfPricingSimpleItem) Validate

Validate validates this newbilling components of pricing simple item

type NewbillingConsumeOrder

type NewbillingConsumeOrder struct {

	// access sys id
	AccessSysID string `json:"access_sys_id,omitempty"`

	// amount payable
	AmountPayable float32 `json:"amount_payable,omitempty"`

	// charge status
	ChargeStatus string `json:"charge_status,omitempty"`

	// charge time
	// Format: date-time
	ChargeTime *strfmt.DateTime `json:"charge_time,omitempty"`

	// consume type
	ConsumeType string `json:"consume_type,omitempty"`

	// cost
	Cost float32 `json:"cost,omitempty"`

	// create time
	// Format: date-time
	CreateTime *strfmt.DateTime `json:"create_time,omitempty"`

	// is deleted
	IsDeleted int32 `json:"is_deleted,omitempty"`

	// order user id
	OrderUserID string `json:"order_user_id,omitempty"`

	// order user name
	OrderUserName string `json:"order_user_name,omitempty"`

	// prod id
	ProdID string `json:"prod_id,omitempty"`

	// prod inst consume order id
	ProdInstConsumeOrderID string `json:"prod_inst_consume_order_id,omitempty"`

	// prod inst id
	ProdInstID string `json:"prod_inst_id,omitempty"`

	// prod name
	ProdName string `json:"prod_name,omitempty"`

	// update time
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"update_time,omitempty"`
}

NewbillingConsumeOrder 消费订单

swagger:model newbillingConsumeOrder

func (*NewbillingConsumeOrder) ContextValidate

func (m *NewbillingConsumeOrder) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling consume order based on context it is used

func (*NewbillingConsumeOrder) MarshalBinary

func (m *NewbillingConsumeOrder) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingConsumeOrder) UnmarshalBinary

func (m *NewbillingConsumeOrder) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingConsumeOrder) Validate

func (m *NewbillingConsumeOrder) Validate(formats strfmt.Registry) error

Validate validates this newbilling consume order

type NewbillingCostAttribute

type NewbillingCostAttribute struct {

	// 聚合方法
	Aggregation string `json:"aggregation,omitempty"`

	// 属性别名
	AttrAlias string `json:"attr_alias,omitempty"`

	// 产品属性ID
	AttrID string `json:"attr_id,omitempty"`

	// 产品属性描述
	Description string `json:"description,omitempty"`

	// 是否需要计量
	IsNeedMeter int64 `json:"is_need_meter,omitempty"`

	// 计量数据的时间精度
	MeteringPeriod int64 `json:"metering_period,omitempty"`

	// 该产品属性对应的计量服务中的指标
	MetricInAcessSys string `json:"metric_in_acess_sys,omitempty"`

	// 产品属性名称
	Name string `json:"name,omitempty"`

	// 产品属性值的单位
	Unit string `json:"unit,omitempty"`

	// 产品属性值
	Value string `json:"value,omitempty"`

	// 产品值类型
	ValueType string `json:"value_type,omitempty"`
}

NewbillingCostAttribute 返回-命中策略下的属性

swagger:model newbillingCostAttribute

func (*NewbillingCostAttribute) ContextValidate

func (m *NewbillingCostAttribute) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling cost attribute based on context it is used

func (*NewbillingCostAttribute) MarshalBinary

func (m *NewbillingCostAttribute) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCostAttribute) UnmarshalBinary

func (m *NewbillingCostAttribute) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCostAttribute) Validate

func (m *NewbillingCostAttribute) Validate(formats strfmt.Registry) error

Validate validates this newbilling cost attribute

type NewbillingCreateAccessSystemCustomerResponse

type NewbillingCreateAccessSystemCustomerResponse interface{}

NewbillingCreateAccessSystemCustomerResponse newbilling create access system customer response

swagger:model newbillingCreateAccessSystemCustomerResponse

type NewbillingCreateAccessSystemForOpenRequest

type NewbillingCreateAccessSystemForOpenRequest struct {

	// 接入系统编码 @gotags: valid:"Required"
	AccessSysCode string `json:"access_sys_code,omitempty"`

	// action
	Action string `json:"action,omitempty"`

	// @gotags: valid:"Required"
	Email string `json:"email,omitempty"`

	// expires
	Expires string `json:"expires,omitempty"`

	// 接入系统名称 @gotags: valid:"Required"
	Name string `json:"name,omitempty"`

	// @gotags: valid:"Required"
	OpenName string `json:"open_name,omitempty"`

	// signature
	Signature string `json:"signature,omitempty"`
}

NewbillingCreateAccessSystemForOpenRequest 为appcenter创建接入系统请求信息

swagger:model newbillingCreateAccessSystemForOpenRequest

func (*NewbillingCreateAccessSystemForOpenRequest) ContextValidate

ContextValidate validates this newbilling create access system for open request based on context it is used

func (*NewbillingCreateAccessSystemForOpenRequest) MarshalBinary

func (m *NewbillingCreateAccessSystemForOpenRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateAccessSystemForOpenRequest) UnmarshalBinary

func (m *NewbillingCreateAccessSystemForOpenRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateAccessSystemForOpenRequest) Validate

Validate validates this newbilling create access system for open request

type NewbillingCreateAccessSystemForOpenResponse

type NewbillingCreateAccessSystemForOpenResponse struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// email
	Email string `json:"email,omitempty"`

	// token
	Token string `json:"token,omitempty"`

	// user id
	UserID string `json:"user_id,omitempty"`
}

NewbillingCreateAccessSystemForOpenResponse 为appcenter创建接入系统返回信息

swagger:model newbillingCreateAccessSystemForOpenResponse

func (*NewbillingCreateAccessSystemForOpenResponse) ContextValidate

ContextValidate validates this newbilling create access system for open response based on context it is used

func (*NewbillingCreateAccessSystemForOpenResponse) MarshalBinary

func (m *NewbillingCreateAccessSystemForOpenResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateAccessSystemForOpenResponse) UnmarshalBinary

func (m *NewbillingCreateAccessSystemForOpenResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateAccessSystemForOpenResponse) Validate

Validate validates this newbilling create access system for open response

type NewbillingCreateAccessSystemRequest

type NewbillingCreateAccessSystemRequest struct {

	// 接入系统编码
	AccessSysCode string `json:"access_sys_code,omitempty"`

	// 邮箱 @gotags: valid:"Required"
	Email string `json:"email,omitempty"`

	// 接入系统名称 @gotags: valid:"Required"
	Name string `json:"name,omitempty"`
}

NewbillingCreateAccessSystemRequest 创建接入系统请求信息

swagger:model newbillingCreateAccessSystemRequest

func (*NewbillingCreateAccessSystemRequest) ContextValidate

func (m *NewbillingCreateAccessSystemRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling create access system request based on context it is used

func (*NewbillingCreateAccessSystemRequest) MarshalBinary

func (m *NewbillingCreateAccessSystemRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateAccessSystemRequest) UnmarshalBinary

func (m *NewbillingCreateAccessSystemRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateAccessSystemRequest) Validate

Validate validates this newbilling create access system request

type NewbillingCreateAccessSystemResponse

type NewbillingCreateAccessSystemResponse struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`
}

NewbillingCreateAccessSystemResponse 创建接入系统返回信息

swagger:model newbillingCreateAccessSystemResponse

func (*NewbillingCreateAccessSystemResponse) ContextValidate

func (m *NewbillingCreateAccessSystemResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling create access system response based on context it is used

func (*NewbillingCreateAccessSystemResponse) MarshalBinary

func (m *NewbillingCreateAccessSystemResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateAccessSystemResponse) UnmarshalBinary

func (m *NewbillingCreateAccessSystemResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateAccessSystemResponse) Validate

Validate validates this newbilling create access system response

type NewbillingCreateActionRequest

type NewbillingCreateActionRequest struct {

	// 操作信息-API类型- value = read 只读, value = write 只写,  value = delete 删除,  value = modify 修改
	ActionType string `json:"action_type,omitempty"`

	// 操作信息-API ID
	APIID string `json:"api_id,omitempty"`

	// 操作信息-API方法
	APIMethod string `json:"api_method,omitempty"`

	// 操作信息-API名称
	APIName string `json:"api_name,omitempty"`

	// 操作信息-描述
	Description string `json:"description,omitempty"`

	// 操作信息-模块ID
	ModuleID string `json:"module_id,omitempty"`

	// 操作信息-模块名称
	ModuleName string `json:"module_name,omitempty"`
}

NewbillingCreateActionRequest 创建操作请求信息

swagger:model newbillingCreateActionRequest

func (*NewbillingCreateActionRequest) ContextValidate

func (m *NewbillingCreateActionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling create action request based on context it is used

func (*NewbillingCreateActionRequest) MarshalBinary

func (m *NewbillingCreateActionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateActionRequest) UnmarshalBinary

func (m *NewbillingCreateActionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateActionRequest) Validate

func (m *NewbillingCreateActionRequest) Validate(formats strfmt.Registry) error

Validate validates this newbilling create action request

type NewbillingCreateActionResponse

type NewbillingCreateActionResponse struct {

	// 操作信息ID
	ActionID string `json:"action_id,omitempty"`
}

NewbillingCreateActionResponse 创建操作返回信息

swagger:model newbillingCreateActionResponse

func (*NewbillingCreateActionResponse) ContextValidate

func (m *NewbillingCreateActionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling create action response based on context it is used

func (*NewbillingCreateActionResponse) MarshalBinary

func (m *NewbillingCreateActionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateActionResponse) UnmarshalBinary

func (m *NewbillingCreateActionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateActionResponse) Validate

func (m *NewbillingCreateActionResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling create action response

type NewbillingCreateAttributeRequest

type NewbillingCreateAttributeRequest struct {

	// 接入系统ID仅super user有效,接入系统管理员/成员会默认用当前登陆的接入系统
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 属性编码
	AttrCode string `json:"attr_code,omitempty"`

	// 属性描述
	Description string `json:"description,omitempty"`

	// 是否需要计量 gotags:valid:"OneOf(0,1)"
	IsNeedMeter int64 `json:"is_need_meter,omitempty"`

	// 属性名称  @gotags:valid:"Required;MaxSize(30)"
	Name string `json:"name,omitempty"`

	// 产品ID  @gotags:valid:"Required"
	ProdID string `json:"prod_id,omitempty"`

	// 属性值单位
	Unit string `json:"unit,omitempty"`

	// 属性值类型  @gotags:valid:"Required;OneOf(bool,string,number)"
	ValueType string `json:"value_type,omitempty"`
}

NewbillingCreateAttributeRequest //属性 - 带value字段,用于存放订阅传入具体的属性值。

message AttributeWithValue {
   //属性ID
   google.protobuf.StringValue attr_id = 1;
   //属性编码
   google.protobuf.StringValue attr_code = 2;
   //产品ID
   google.protobuf.StringValue prod_id = 3;
   //属性名称
   google.protobuf.StringValue name = 4;
   //属性描述
   google.protobuf.StringValue description = 5;
   //属性值类型
   google.protobuf.StringValue value_type = 6;
   //属性值
   google.protobuf.StringValue value = 7;
   //属性值单位
   google.protobuf.StringValue unit = 8;
   //是否需要计量
   google.protobuf.UInt32Value is_need_meter = 9;
   //聚合方法
   google.protobuf.StringValue aggregation = 10;
   //该产品属性对应的计量服务中的指标
   google.protobuf.StringValue metric_in_acess_sys = 11;
   //计量数据的时间精度
   google.protobuf.UInt32Value metering_period = 12;
   //创建时间
   google.protobuf.Timestamp create_time = 13;
   //更新时间
   google.protobuf.Timestamp update_time = 14;
}

创建属性请求信息

swagger:model newbillingCreateAttributeRequest

func (*NewbillingCreateAttributeRequest) ContextValidate

func (m *NewbillingCreateAttributeRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling create attribute request based on context it is used

func (*NewbillingCreateAttributeRequest) MarshalBinary

func (m *NewbillingCreateAttributeRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateAttributeRequest) UnmarshalBinary

func (m *NewbillingCreateAttributeRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateAttributeRequest) Validate

Validate validates this newbilling create attribute request

type NewbillingCreateAttributeResponse

type NewbillingCreateAttributeResponse struct {

	// 属性ID
	AttrID string `json:"attr_id,omitempty"`
}

NewbillingCreateAttributeResponse 创建属性返回信息

swagger:model newbillingCreateAttributeResponse

func (*NewbillingCreateAttributeResponse) ContextValidate

func (m *NewbillingCreateAttributeResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling create attribute response based on context it is used

func (*NewbillingCreateAttributeResponse) MarshalBinary

func (m *NewbillingCreateAttributeResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateAttributeResponse) UnmarshalBinary

func (m *NewbillingCreateAttributeResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateAttributeResponse) Validate

Validate validates this newbilling create attribute response

type NewbillingCreateCatalogRequest

type NewbillingCreateCatalogRequest struct {

	// 接入系统ID仅super user有效,接入系统管理员/成员会默认用当前登陆的接入系统
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 产品目录编码
	CataCode string `json:"cata_code,omitempty"`

	// 产品目录名称 @gotags:valid:"Required;MaxSize(30)"
	Name string `json:"name,omitempty"`

	// 产品目录的父目录ID
	ParentCataID string `json:"parent_cata_id,omitempty"`
}

NewbillingCreateCatalogRequest 创建产品目录请求信息

swagger:model newbillingCreateCatalogRequest

func (*NewbillingCreateCatalogRequest) ContextValidate

func (m *NewbillingCreateCatalogRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling create catalog request based on context it is used

func (*NewbillingCreateCatalogRequest) MarshalBinary

func (m *NewbillingCreateCatalogRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateCatalogRequest) UnmarshalBinary

func (m *NewbillingCreateCatalogRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateCatalogRequest) Validate

func (m *NewbillingCreateCatalogRequest) Validate(formats strfmt.Registry) error

Validate validates this newbilling create catalog request

type NewbillingCreateCatalogResponse

type NewbillingCreateCatalogResponse struct {

	// 产品目录ID
	CataID string `json:"cata_id,omitempty"`
}

NewbillingCreateCatalogResponse 创建产品目录返回信息

swagger:model newbillingCreateCatalogResponse

func (*NewbillingCreateCatalogResponse) ContextValidate

func (m *NewbillingCreateCatalogResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling create catalog response based on context it is used

func (*NewbillingCreateCatalogResponse) MarshalBinary

func (m *NewbillingCreateCatalogResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateCatalogResponse) UnmarshalBinary

func (m *NewbillingCreateCatalogResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateCatalogResponse) Validate

Validate validates this newbilling create catalog response

type NewbillingCreateChargeRequest

type NewbillingCreateChargeRequest struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 账单ID
	BillID string `json:"bill_id,omitempty"`

	// 支付金额
	ChargeAmount float32 `json:"charge_amount,omitempty"`

	// 支付渠道- 余额、直付、外部
	ChargeChannel string `json:"charge_channel,omitempty"`

	// charge type
	ChargeType int32 `json:"charge_type,omitempty"`

	// 支付记录创建人
	CreatedBy string `json:"created_by,omitempty"`

	// 支付货币单位
	CurrencyCode string `json:"currency_code,omitempty"`

	// extra info
	ExtraInfo string `json:"extra_info,omitempty"`

	// is change
	IsChange bool `json:"is_change,omitempty"`

	// 是否强制扣费,强制扣费会扣除账户余额为负数
	IsForce bool `json:"is_force,omitempty"`

	// 是否由pitrix-billing-order的订单触发
	IsOrderResource bool `json:"is_order_resource,omitempty"`

	// prod inst id ext
	ProdInstIDExt string `json:"prod_inst_id_ext,omitempty"`

	// 备注
	Remarks string `json:"remarks,omitempty"`

	// 需要支付的账单
	ToChargedBills []*NewbillingBill `json:"to_charged_bills"`

	// 用户ID
	UserID string `json:"user_id,omitempty"`
}

NewbillingCreateChargeRequest 创建支付记录请求信息

swagger:model newbillingCreateChargeRequest

func (*NewbillingCreateChargeRequest) ContextValidate

func (m *NewbillingCreateChargeRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling create charge request based on the context it is used

func (*NewbillingCreateChargeRequest) MarshalBinary

func (m *NewbillingCreateChargeRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateChargeRequest) UnmarshalBinary

func (m *NewbillingCreateChargeRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateChargeRequest) Validate

func (m *NewbillingCreateChargeRequest) Validate(formats strfmt.Registry) error

Validate validates this newbilling create charge request

type NewbillingCreateChargeResponse

type NewbillingCreateChargeResponse struct {

	// 支付记录ID
	ChargeID string `json:"charge_id,omitempty"`

	// 支付结果 0. NORMAL 正常扣费成功 1. RET_NO_MONEY 余额不足,扣费失败 2. CHARGED_RET_NO_MONEY 余额不足, 强制扣费成功
	ChargeResult string `json:"charge_result,omitempty"`
}

NewbillingCreateChargeResponse 创建支付记录返回信息

swagger:model newbillingCreateChargeResponse

func (*NewbillingCreateChargeResponse) ContextValidate

func (m *NewbillingCreateChargeResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling create charge response based on context it is used

func (*NewbillingCreateChargeResponse) MarshalBinary

func (m *NewbillingCreateChargeResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateChargeResponse) UnmarshalBinary

func (m *NewbillingCreateChargeResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateChargeResponse) Validate

func (m *NewbillingCreateChargeResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling create charge response

type NewbillingCreateCollectDataRequest

type NewbillingCreateCollectDataRequest struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 采集项列表
	ItemSet []*NewbillingCreateCollectDataRequestCollectItem `json:"item_set"`
}

NewbillingCreateCollectDataRequest newbilling create collect data request

swagger:model newbillingCreateCollectDataRequest

func (*NewbillingCreateCollectDataRequest) ContextValidate

func (m *NewbillingCreateCollectDataRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling create collect data request based on the context it is used

func (*NewbillingCreateCollectDataRequest) MarshalBinary

func (m *NewbillingCreateCollectDataRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateCollectDataRequest) UnmarshalBinary

func (m *NewbillingCreateCollectDataRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateCollectDataRequest) Validate

Validate validates this newbilling create collect data request

type NewbillingCreateCollectDataRequestCollectItem

type NewbillingCreateCollectDataRequestCollectItem struct {

	// prod inst id ext
	ProdInstIDExt string `json:"prod_inst_id_ext,omitempty"`

	// target map
	TargetMap map[string]NewbillingCollectDataUnits `json:"target_map,omitempty"`
}

NewbillingCreateCollectDataRequestCollectItem newbilling create collect data request collect item

swagger:model newbillingCreateCollectDataRequestCollectItem

func (*NewbillingCreateCollectDataRequestCollectItem) ContextValidate

ContextValidate validate this newbilling create collect data request collect item based on the context it is used

func (*NewbillingCreateCollectDataRequestCollectItem) MarshalBinary

MarshalBinary interface implementation

func (*NewbillingCreateCollectDataRequestCollectItem) UnmarshalBinary

UnmarshalBinary interface implementation

func (*NewbillingCreateCollectDataRequestCollectItem) Validate

Validate validates this newbilling create collect data request collect item

type NewbillingCreateCollectDataResponse

type NewbillingCreateCollectDataResponse interface{}

NewbillingCreateCollectDataResponse newbilling create collect data response

swagger:model newbillingCreateCollectDataResponse

type NewbillingCreateCollectEventInvokerResponse

type NewbillingCreateCollectEventInvokerResponse interface{}

NewbillingCreateCollectEventInvokerResponse newbilling create collect event invoker response

swagger:model newbillingCreateCollectEventInvokerResponse

type NewbillingCreateCollectEventRequest

type NewbillingCreateCollectEventRequest struct {

	// 计费项数据
	CollectItem *NewbillingCollectItem `json:"collect_item,omitempty"`

	// 采集项ID
	CollectItemID string `json:"collect_item_id,omitempty"`

	// true=标识最后一次采集任务
	IsLast bool `json:"is_last,omitempty"`

	// qingjob id
	JobID string `json:"job_id,omitempty"`
}

NewbillingCreateCollectEventRequest newbilling create collect event request

swagger:model newbillingCreateCollectEventRequest

func (*NewbillingCreateCollectEventRequest) ContextValidate

func (m *NewbillingCreateCollectEventRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling create collect event request based on the context it is used

func (*NewbillingCreateCollectEventRequest) MarshalBinary

func (m *NewbillingCreateCollectEventRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateCollectEventRequest) UnmarshalBinary

func (m *NewbillingCreateCollectEventRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateCollectEventRequest) Validate

Validate validates this newbilling create collect event request

type NewbillingCreateCollectEventResponse

type NewbillingCreateCollectEventResponse struct {

	// 任务ID
	TaskID string `json:"task_id,omitempty"`
}

NewbillingCreateCollectEventResponse newbilling create collect event response

swagger:model newbillingCreateCollectEventResponse

func (*NewbillingCreateCollectEventResponse) ContextValidate

func (m *NewbillingCreateCollectEventResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling create collect event response based on context it is used

func (*NewbillingCreateCollectEventResponse) MarshalBinary

func (m *NewbillingCreateCollectEventResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateCollectEventResponse) UnmarshalBinary

func (m *NewbillingCreateCollectEventResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateCollectEventResponse) Validate

Validate validates this newbilling create collect event response

type NewbillingCreateComponentRequest

type NewbillingCreateComponentRequest struct {

	// 接入系统ID仅super user有效,接入系统管理员/成员会默认用当前登陆的接入系统
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 计费模式 - 按包-按资源包;按包-按时间包;按量-按时间使用量;按量-按资源使用量  @gotags: valid:"Required;OneOf(package_time,package_resource,usage_resource,usage_time)"
	BillingMode string `json:"billing_mode,omitempty"`

	// 计费项编码
	CompCode string `json:"comp_code,omitempty"`

	// 计费项描述
	Description string `json:"description,omitempty"`

	// 计费项名称  @gotags: valid:"Required;MaxSize(30)"
	Name string `json:"name,omitempty"`

	// 方案ID @gotags: valid:"Required"
	PlanID string `json:"plan_id,omitempty"`

	// position
	Position int64 `json:"position,omitempty"`

	// 产品ID  @gotags: valid:"Required"
	ProdID string `json:"prod_id,omitempty"`
}

NewbillingCreateComponentRequest 创建计费项请求信息

swagger:model newbillingCreateComponentRequest

func (*NewbillingCreateComponentRequest) ContextValidate

func (m *NewbillingCreateComponentRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling create component request based on context it is used

func (*NewbillingCreateComponentRequest) MarshalBinary

func (m *NewbillingCreateComponentRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateComponentRequest) UnmarshalBinary

func (m *NewbillingCreateComponentRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateComponentRequest) Validate

Validate validates this newbilling create component request

type NewbillingCreateComponentResponse

type NewbillingCreateComponentResponse struct {

	// 计费项ID
	CompID string `json:"comp_id,omitempty"`
}

NewbillingCreateComponentResponse 创建计费项返回信息

swagger:model newbillingCreateComponentResponse

func (*NewbillingCreateComponentResponse) ContextValidate

func (m *NewbillingCreateComponentResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling create component response based on context it is used

func (*NewbillingCreateComponentResponse) MarshalBinary

func (m *NewbillingCreateComponentResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateComponentResponse) UnmarshalBinary

func (m *NewbillingCreateComponentResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateComponentResponse) Validate

Validate validates this newbilling create component response

type NewbillingCreateCustomerCurrencyRequest

type NewbillingCreateCustomerCurrencyRequest struct {

	// access sys id
	AccessSysID string `json:"access_sys_id,omitempty"`

	// charge id
	ChargeID string `json:"charge_id,omitempty"`

	// currency type
	CurrencyType string `json:"currency_type,omitempty"`

	// currency value
	CurrencyValue float32 `json:"currency_value,omitempty"`

	// customer id
	CustomerID string `json:"customer_id,omitempty"`

	// duration
	Duration string `json:"duration,omitempty"`
}

NewbillingCreateCustomerCurrencyRequest 优惠券目前只支持newbilling中的customer

swagger:model newbillingCreateCustomerCurrencyRequest

func (*NewbillingCreateCustomerCurrencyRequest) ContextValidate

ContextValidate validates this newbilling create customer currency request based on context it is used

func (*NewbillingCreateCustomerCurrencyRequest) MarshalBinary

func (m *NewbillingCreateCustomerCurrencyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateCustomerCurrencyRequest) UnmarshalBinary

func (m *NewbillingCreateCustomerCurrencyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateCustomerCurrencyRequest) Validate

Validate validates this newbilling create customer currency request

type NewbillingCreateCustomerCurrencyResponse

type NewbillingCreateCustomerCurrencyResponse struct {

	// ok
	Ok bool `json:"ok,omitempty"`
}

NewbillingCreateCustomerCurrencyResponse newbilling create customer currency response

swagger:model newbillingCreateCustomerCurrencyResponse

func (*NewbillingCreateCustomerCurrencyResponse) ContextValidate

ContextValidate validates this newbilling create customer currency response based on context it is used

func (*NewbillingCreateCustomerCurrencyResponse) MarshalBinary

func (m *NewbillingCreateCustomerCurrencyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateCustomerCurrencyResponse) UnmarshalBinary

func (m *NewbillingCreateCustomerCurrencyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateCustomerCurrencyResponse) Validate

Validate validates this newbilling create customer currency response

type NewbillingCreateCustomerDiscountRequest

type NewbillingCreateCustomerDiscountRequest struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 客户折扣描述
	CustomerDiscountDesc string `json:"customer_discount_desc,omitempty"`

	// 客户折扣名称 @gotags:valid:"Required;MaxSize(50)"
	CustomerDiscountName string `json:"customer_discount_name,omitempty"`

	// 客户ID @gotags:valid:"Required"
	CustomerID string `json:"customer_id,omitempty"`

	// 折扣模式 user=用户折扣为准 both=折上折(默认)
	DiscountMode string `json:"discount_mode,omitempty"`

	// 折扣值 @gotags:valid:"Required"
	DiscountValue int64 `json:"discount_value,omitempty"`

	// 客户折扣生效时间 @gotags:valid:"Required"
	// Format: date-time
	EffectiveTime *strfmt.DateTime `json:"effective_time,omitempty"`

	// 客户折扣失效时间 @gotags:valid:"Required"
	// Format: date-time
	ExpirationTime *strfmt.DateTime `json:"expiration_time,omitempty"`

	// 折扣需要满足的条件组
	FiltersMapList []*NewbillingDiscountFilerMap `json:"filters_map_list"`
}

NewbillingCreateCustomerDiscountRequest 创建客户折扣请求信息

swagger:model newbillingCreateCustomerDiscountRequest

func (*NewbillingCreateCustomerDiscountRequest) ContextValidate

ContextValidate validate this newbilling create customer discount request based on the context it is used

func (*NewbillingCreateCustomerDiscountRequest) MarshalBinary

func (m *NewbillingCreateCustomerDiscountRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateCustomerDiscountRequest) UnmarshalBinary

func (m *NewbillingCreateCustomerDiscountRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateCustomerDiscountRequest) Validate

Validate validates this newbilling create customer discount request

type NewbillingCreateCustomerDiscountResponse

type NewbillingCreateCustomerDiscountResponse struct {

	// customer discount id
	CustomerDiscountID string `json:"customer_discount_id,omitempty"`
}

NewbillingCreateCustomerDiscountResponse 创建折扣返回信息

swagger:model newbillingCreateCustomerDiscountResponse

func (*NewbillingCreateCustomerDiscountResponse) ContextValidate

ContextValidate validates this newbilling create customer discount response based on context it is used

func (*NewbillingCreateCustomerDiscountResponse) MarshalBinary

func (m *NewbillingCreateCustomerDiscountResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateCustomerDiscountResponse) UnmarshalBinary

func (m *NewbillingCreateCustomerDiscountResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateCustomerDiscountResponse) Validate

Validate validates this newbilling create customer discount response

type NewbillingCreateCustomerResource

type NewbillingCreateCustomerResource struct {

	// attr id
	AttrID string `json:"attr_id,omitempty"`

	// attr name
	AttrName string `json:"attr_name,omitempty"`

	// attr value
	AttrValue string `json:"attr_value,omitempty"`

	// duration
	Duration string `json:"duration,omitempty"`

	// expire time
	// Format: date-time
	ExpireTime *strfmt.DateTime `json:"expire_time,omitempty"`

	// resource pkg type
	ResourcePkgType string `json:"resource_pkg_type,omitempty"`

	// start time
	// Format: date-time
	StartTime *strfmt.DateTime `json:"start_time,omitempty"`

	// subs component id
	SubsComponentID string `json:"subs_component_id,omitempty"`

	// unit
	Unit string `json:"unit,omitempty"`

	// value type
	ValueType string `json:"value_type,omitempty"`
}

NewbillingCreateCustomerResource newbilling create customer resource

swagger:model newbillingCreateCustomerResource

func (*NewbillingCreateCustomerResource) ContextValidate

func (m *NewbillingCreateCustomerResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling create customer resource based on context it is used

func (*NewbillingCreateCustomerResource) MarshalBinary

func (m *NewbillingCreateCustomerResource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateCustomerResource) UnmarshalBinary

func (m *NewbillingCreateCustomerResource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateCustomerResource) Validate

Validate validates this newbilling create customer resource

type NewbillingCreateCustomerResourceResponse

type NewbillingCreateCustomerResourceResponse struct {

	// ok
	Ok bool `json:"ok,omitempty"`
}

NewbillingCreateCustomerResourceResponse newbilling create customer resource response

swagger:model newbillingCreateCustomerResourceResponse

func (*NewbillingCreateCustomerResourceResponse) ContextValidate

ContextValidate validates this newbilling create customer resource response based on context it is used

func (*NewbillingCreateCustomerResourceResponse) MarshalBinary

func (m *NewbillingCreateCustomerResourceResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateCustomerResourceResponse) UnmarshalBinary

func (m *NewbillingCreateCustomerResourceResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateCustomerResourceResponse) Validate

Validate validates this newbilling create customer resource response

type NewbillingCreateEventRequest

type NewbillingCreateEventRequest struct {

	// access sys id
	AccessSysID string `json:"access_sys_id,omitempty"`

	// customer id
	CustomerID string `json:"customer_id,omitempty"`

	// event
	Event string `json:"event,omitempty"`

	// event time
	// Format: date-time
	EventTime *strfmt.DateTime `json:"event_time,omitempty"`

	// passback
	Passback string `json:"passback,omitempty"`

	// prod id
	ProdID string `json:"prod_id,omitempty"`

	// prod inst id ext
	ProdInstIDExt string `json:"prod_inst_id_ext,omitempty"`
}

NewbillingCreateEventRequest newbilling create event request

swagger:model newbillingCreateEventRequest

func (*NewbillingCreateEventRequest) ContextValidate

func (m *NewbillingCreateEventRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling create event request based on context it is used

func (*NewbillingCreateEventRequest) MarshalBinary

func (m *NewbillingCreateEventRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateEventRequest) UnmarshalBinary

func (m *NewbillingCreateEventRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateEventRequest) Validate

func (m *NewbillingCreateEventRequest) Validate(formats strfmt.Registry) error

Validate validates this newbilling create event request

type NewbillingCreateEventResponse

type NewbillingCreateEventResponse struct {

	// event id
	EventID string `json:"event_id,omitempty"`
}

NewbillingCreateEventResponse newbilling create event response

swagger:model newbillingCreateEventResponse

func (*NewbillingCreateEventResponse) ContextValidate

func (m *NewbillingCreateEventResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling create event response based on context it is used

func (*NewbillingCreateEventResponse) MarshalBinary

func (m *NewbillingCreateEventResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateEventResponse) UnmarshalBinary

func (m *NewbillingCreateEventResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateEventResponse) Validate

func (m *NewbillingCreateEventResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling create event response

type NewbillingCreateFilterRequest

type NewbillingCreateFilterRequest struct {

	// 接入系统ID仅super user有效,接入系统管理员/成员会默认用当前登陆的接入系统
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 条件描述
	Description string `json:"description,omitempty"`

	// 条件编码
	FilterCode string `json:"filter_code,omitempty"`

	// 条件左值 @gotags:valid:"Required"
	LeftValue string `json:"left_value,omitempty"`

	// 条件名称
	Name string `json:"name,omitempty"`

	// 条件操作符 @gotags:valid:"Required"
	Operator string `json:"operator,omitempty"`

	// 产品ID @gotags:valid:"Required"
	ProdID string `json:"prod_id,omitempty"`

	// 条件备注
	Remark string `json:"remark,omitempty"`

	// 条件右值 @gotags:valid:"Required"
	RightValue string `json:"right_value,omitempty"`
}

NewbillingCreateFilterRequest 创建条件请求信息

swagger:model newbillingCreateFilterRequest

func (*NewbillingCreateFilterRequest) ContextValidate

func (m *NewbillingCreateFilterRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling create filter request based on context it is used

func (*NewbillingCreateFilterRequest) MarshalBinary

func (m *NewbillingCreateFilterRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateFilterRequest) UnmarshalBinary

func (m *NewbillingCreateFilterRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateFilterRequest) Validate

func (m *NewbillingCreateFilterRequest) Validate(formats strfmt.Registry) error

Validate validates this newbilling create filter request

type NewbillingCreateFilterResponse

type NewbillingCreateFilterResponse struct {

	// 条件ID
	FilterID string `json:"filter_id,omitempty"`
}

NewbillingCreateFilterResponse 创建条件返回信息

swagger:model newbillingCreateFilterResponse

func (*NewbillingCreateFilterResponse) ContextValidate

func (m *NewbillingCreateFilterResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling create filter response based on context it is used

func (*NewbillingCreateFilterResponse) MarshalBinary

func (m *NewbillingCreateFilterResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateFilterResponse) UnmarshalBinary

func (m *NewbillingCreateFilterResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateFilterResponse) Validate

func (m *NewbillingCreateFilterResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling create filter response

type NewbillingCreateOrUpdateCustomerRequest

type NewbillingCreateOrUpdateCustomerRequest struct {

	// customers
	Customers []*NewbillingCustomer `json:"customers"`
}

NewbillingCreateOrUpdateCustomerRequest newbilling create or update customer request

swagger:model newbillingCreateOrUpdateCustomerRequest

func (*NewbillingCreateOrUpdateCustomerRequest) ContextValidate

ContextValidate validate this newbilling create or update customer request based on the context it is used

func (*NewbillingCreateOrUpdateCustomerRequest) MarshalBinary

func (m *NewbillingCreateOrUpdateCustomerRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateOrUpdateCustomerRequest) UnmarshalBinary

func (m *NewbillingCreateOrUpdateCustomerRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateOrUpdateCustomerRequest) Validate

Validate validates this newbilling create or update customer request

type NewbillingCreateOrUpdateCustomerResponse

type NewbillingCreateOrUpdateCustomerResponse struct {

	// fail customer ids
	FailCustomerIds []string `json:"fail_customer_ids"`

	// suc customer ids
	SucCustomerIds []string `json:"suc_customer_ids"`
}

NewbillingCreateOrUpdateCustomerResponse newbilling create or update customer response

swagger:model newbillingCreateOrUpdateCustomerResponse

func (*NewbillingCreateOrUpdateCustomerResponse) ContextValidate

ContextValidate validates this newbilling create or update customer response based on context it is used

func (*NewbillingCreateOrUpdateCustomerResponse) MarshalBinary

func (m *NewbillingCreateOrUpdateCustomerResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateOrUpdateCustomerResponse) UnmarshalBinary

func (m *NewbillingCreateOrUpdateCustomerResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateOrUpdateCustomerResponse) Validate

Validate validates this newbilling create or update customer response

type NewbillingCreateOrderRequest

type NewbillingCreateOrderRequest struct {

	// access sys id
	AccessSysID string `json:"access_sys_id,omitempty"`

	// amount
	Amount float32 `json:"amount,omitempty"`

	// currency
	Currency string `json:"currency,omitempty"`

	// expire time
	ExpireTime string `json:"expire_time,omitempty"`

	// notify url
	NotifyURL string `json:"notify_url,omitempty"`

	// out trade no
	OutTradeNo string `json:"out_trade_no,omitempty"`

	// passback
	Passback string `json:"passback,omitempty"`

	// remark
	Remark string `json:"remark,omitempty"`

	// return url
	ReturnURL string `json:"return_url,omitempty"`

	// subject
	Subject string `json:"subject,omitempty"`
}

NewbillingCreateOrderRequest newbilling create order request

swagger:model newbillingCreateOrderRequest

func (*NewbillingCreateOrderRequest) ContextValidate

func (m *NewbillingCreateOrderRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling create order request based on context it is used

func (*NewbillingCreateOrderRequest) MarshalBinary

func (m *NewbillingCreateOrderRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateOrderRequest) UnmarshalBinary

func (m *NewbillingCreateOrderRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateOrderRequest) Validate

func (m *NewbillingCreateOrderRequest) Validate(formats strfmt.Registry) error

Validate validates this newbilling create order request

type NewbillingCreateOrderResponse

type NewbillingCreateOrderResponse struct {

	// order id
	OrderID string `json:"order_id,omitempty"`
}

NewbillingCreateOrderResponse newbilling create order response

swagger:model newbillingCreateOrderResponse

func (*NewbillingCreateOrderResponse) ContextValidate

func (m *NewbillingCreateOrderResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling create order response based on context it is used

func (*NewbillingCreateOrderResponse) MarshalBinary

func (m *NewbillingCreateOrderResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateOrderResponse) UnmarshalBinary

func (m *NewbillingCreateOrderResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateOrderResponse) Validate

func (m *NewbillingCreateOrderResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling create order response

type NewbillingCreatePlanRequest

type NewbillingCreatePlanRequest struct {

	// 接入系统ID仅super user有效,接入系统管理员/成员会默认用当前登陆的接入系统
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 方案描述
	Description string `json:"description,omitempty"`

	// 方案编码
	PlanCode string `json:"plan_code,omitempty"`

	// 方案名称 @gotags:valid:"Required;MaxSize(30)"
	PlanName string `json:"plan_name,omitempty"`

	// 定价方式  @gotags:valid:"OneOf(simple,formula)"
	PricingMethod string `json:"pricing_method,omitempty"`

	// 产品ID
	ProdID string `json:"prod_id,omitempty"`
}

NewbillingCreatePlanRequest 创建方案请求信息

swagger:model newbillingCreatePlanRequest

func (*NewbillingCreatePlanRequest) ContextValidate

func (m *NewbillingCreatePlanRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling create plan request based on context it is used

func (*NewbillingCreatePlanRequest) MarshalBinary

func (m *NewbillingCreatePlanRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreatePlanRequest) UnmarshalBinary

func (m *NewbillingCreatePlanRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreatePlanRequest) Validate

func (m *NewbillingCreatePlanRequest) Validate(formats strfmt.Registry) error

Validate validates this newbilling create plan request

type NewbillingCreatePlanResponse

type NewbillingCreatePlanResponse struct {

	// 方案ID
	PlanID string `json:"plan_id,omitempty"`
}

NewbillingCreatePlanResponse 创建方案返回信息

swagger:model newbillingCreatePlanResponse

func (*NewbillingCreatePlanResponse) ContextValidate

func (m *NewbillingCreatePlanResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling create plan response based on context it is used

func (*NewbillingCreatePlanResponse) MarshalBinary

func (m *NewbillingCreatePlanResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreatePlanResponse) UnmarshalBinary

func (m *NewbillingCreatePlanResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreatePlanResponse) Validate

func (m *NewbillingCreatePlanResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling create plan response

type NewbillingCreatePrdOrderRequest

type NewbillingCreatePrdOrderRequest struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 描述信息
	Description string `json:"description,omitempty"`

	// 扩展信息
	ExtraInfo string `json:"extra_info,omitempty"`

	// 主订单产品信息列表
	OrderProductSet []*NewbillingOrderProduct `json:"order_product_set"`

	// 主订单用户ID
	OrderUserID string `json:"order_user_id,omitempty"`

	// 主订单用户名称
	OrderUserName string `json:"order_user_name,omitempty"`
}

NewbillingCreatePrdOrderRequest 创建主订单请求信息

swagger:model newbillingCreatePrdOrderRequest

func (*NewbillingCreatePrdOrderRequest) ContextValidate

func (m *NewbillingCreatePrdOrderRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling create prd order request based on the context it is used

func (*NewbillingCreatePrdOrderRequest) MarshalBinary

func (m *NewbillingCreatePrdOrderRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreatePrdOrderRequest) UnmarshalBinary

func (m *NewbillingCreatePrdOrderRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreatePrdOrderRequest) Validate

Validate validates this newbilling create prd order request

type NewbillingCreatePrdOrderResponse

type NewbillingCreatePrdOrderResponse struct {

	// 主订单应付金额
	AmountPayable float32 `json:"amount_payable,omitempty"`

	// 主订单原价
	Cost float32 `json:"cost,omitempty"`

	// 主订单ID
	OrderID string `json:"order_id,omitempty"`

	// 主订单状态- 待支付、已支付、作废
	OrderStatus string `json:"order_status,omitempty"`
}

NewbillingCreatePrdOrderResponse 创建主订单返回信息

swagger:model newbillingCreatePrdOrderResponse

func (*NewbillingCreatePrdOrderResponse) ContextValidate

func (m *NewbillingCreatePrdOrderResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling create prd order response based on context it is used

func (*NewbillingCreatePrdOrderResponse) MarshalBinary

func (m *NewbillingCreatePrdOrderResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreatePrdOrderResponse) UnmarshalBinary

func (m *NewbillingCreatePrdOrderResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreatePrdOrderResponse) Validate

Validate validates this newbilling create prd order response

type NewbillingCreatePrdOrderV2Request

type NewbillingCreatePrdOrderV2Request struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 描述信息
	Description string `json:"description,omitempty"`

	// 扩展信息
	ExtraInfo string `json:"extra_info,omitempty"`

	// 主订单产品信息列表
	OrderProductSet []*NewbillingOrderProductV2 `json:"order_product_set"`

	// 主订单用户ID,对应【customer_id】
	OrderUserID string `json:"order_user_id,omitempty"`

	// 主订单用户名称
	OrderUserName string `json:"order_user_name,omitempty"`
}

NewbillingCreatePrdOrderV2Request 创建主订单请求信息

swagger:model newbillingCreatePrdOrderV2Request

func (*NewbillingCreatePrdOrderV2Request) ContextValidate

func (m *NewbillingCreatePrdOrderV2Request) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling create prd order v2 request based on the context it is used

func (*NewbillingCreatePrdOrderV2Request) MarshalBinary

func (m *NewbillingCreatePrdOrderV2Request) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreatePrdOrderV2Request) UnmarshalBinary

func (m *NewbillingCreatePrdOrderV2Request) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreatePrdOrderV2Request) Validate

Validate validates this newbilling create prd order v2 request

type NewbillingCreatePricingRequest

type NewbillingCreatePricingRequest struct {

	// attrs
	Attrs []*NewbillingAttrInfo `json:"attrs"`

	// catalog
	Catalog *NewbillingCreateCatalogRequest `json:"catalog,omitempty"`

	// components
	Components []*NewbillingCompInfo `json:"components"`

	// plan
	Plan *NewbillingCreatePlanRequest `json:"plan,omitempty"`

	// product
	Product *NewbillingCreateProductRequest `json:"product,omitempty"`

	// pub attr filters
	PubAttrFilters []*NewbillingFilterInfo `json:"pub_attr_filters"`
}

NewbillingCreatePricingRequest newbilling create pricing request

swagger:model newbillingCreatePricingRequest

func (*NewbillingCreatePricingRequest) ContextValidate

func (m *NewbillingCreatePricingRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling create pricing request based on the context it is used

func (*NewbillingCreatePricingRequest) MarshalBinary

func (m *NewbillingCreatePricingRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreatePricingRequest) UnmarshalBinary

func (m *NewbillingCreatePricingRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreatePricingRequest) Validate

func (m *NewbillingCreatePricingRequest) Validate(formats strfmt.Registry) error

Validate validates this newbilling create pricing request

type NewbillingCreatePricingResponse

type NewbillingCreatePricingResponse struct {

	// attr ids
	AttrIds []*NewbillingAttrID `json:"attr_ids"`

	// cata id
	CataID string `json:"cata_id,omitempty"`

	// comp ids
	CompIds []*NewbillingCompID `json:"comp_ids"`

	// plan id
	PlanID string `json:"plan_id,omitempty"`

	// prod id
	ProdID string `json:"prod_id,omitempty"`

	// pub attr filter ids
	PubAttrFilterIds []*NewbillingPubAttrFilterID `json:"pub_attr_filter_ids"`
}

NewbillingCreatePricingResponse newbilling create pricing response

swagger:model newbillingCreatePricingResponse

func (*NewbillingCreatePricingResponse) ContextValidate

func (m *NewbillingCreatePricingResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling create pricing response based on the context it is used

func (*NewbillingCreatePricingResponse) MarshalBinary

func (m *NewbillingCreatePricingResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreatePricingResponse) UnmarshalBinary

func (m *NewbillingCreatePricingResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreatePricingResponse) Validate

Validate validates this newbilling create pricing response

type NewbillingCreateProductRequest

type NewbillingCreateProductRequest struct {

	// 接入系统ID仅super user有效,接入系统管理员/成员会默认用当前登陆的接入系统
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 产品目录ID  @gotags:valid:"Required"
	CataID string `json:"cata_id,omitempty"`

	// 产品描述
	Description string `json:"description,omitempty"`

	// 产品生效时间
	// Format: date-time
	EffectiveTime *strfmt.DateTime `json:"effective_time,omitempty"`

	// 产品失效时间
	// Format: date-time
	ExpirationTime *strfmt.DateTime `json:"expiration_time,omitempty"`

	// 产品名称  @gotags:valid:"Required;MaxSize(60)"
	Name string `json:"name,omitempty"`

	// 产品编码
	ProdCode string `json:"prod_code,omitempty"`

	// 产品备注
	Remark string `json:"remark,omitempty"`
}

NewbillingCreateProductRequest 创建产品请求信息

swagger:model newbillingCreateProductRequest

func (*NewbillingCreateProductRequest) ContextValidate

func (m *NewbillingCreateProductRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling create product request based on context it is used

func (*NewbillingCreateProductRequest) MarshalBinary

func (m *NewbillingCreateProductRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateProductRequest) UnmarshalBinary

func (m *NewbillingCreateProductRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateProductRequest) Validate

func (m *NewbillingCreateProductRequest) Validate(formats strfmt.Registry) error

Validate validates this newbilling create product request

type NewbillingCreateProductResponse

type NewbillingCreateProductResponse struct {

	// 产品ID
	ProdID string `json:"prod_id,omitempty"`
}

NewbillingCreateProductResponse 创建产品返回信息

swagger:model newbillingCreateProductResponse

func (*NewbillingCreateProductResponse) ContextValidate

func (m *NewbillingCreateProductResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling create product response based on context it is used

func (*NewbillingCreateProductResponse) MarshalBinary

func (m *NewbillingCreateProductResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateProductResponse) UnmarshalBinary

func (m *NewbillingCreateProductResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateProductResponse) Validate

Validate validates this newbilling create product response

type NewbillingCreateRechargeRequest

type NewbillingCreateRechargeRequest struct {

	// 充值渠道
	Channel string `json:"channel,omitempty"`

	// Console ID
	ConsoleID string `json:"console_id,omitempty"`

	// 充值币种
	Currency string `json:"currency,omitempty"`

	// 用户ID
	CustomerID string `json:"customer_id,omitempty"`

	// 外部交易号
	OutTradeNo string `json:"out_trade_no,omitempty"`

	// 充值金额
	RechargeAmount float32 `json:"recharge_amount,omitempty"`

	// 充值类型
	RechargeType string `json:"recharge_type,omitempty"`

	// 备注
	Remarks string `json:"remarks,omitempty"`
}

NewbillingCreateRechargeRequest 创建充值记录请求信息

swagger:model newbillingCreateRechargeRequest

func (*NewbillingCreateRechargeRequest) ContextValidate

func (m *NewbillingCreateRechargeRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling create recharge request based on context it is used

func (*NewbillingCreateRechargeRequest) MarshalBinary

func (m *NewbillingCreateRechargeRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateRechargeRequest) UnmarshalBinary

func (m *NewbillingCreateRechargeRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateRechargeRequest) Validate

Validate validates this newbilling create recharge request

type NewbillingCreateRechargeResponse

type NewbillingCreateRechargeResponse struct {

	// 充值记录ID
	RechargeID string `json:"recharge_id,omitempty"`
}

NewbillingCreateRechargeResponse 创建充值记录返回信息

swagger:model newbillingCreateRechargeResponse

func (*NewbillingCreateRechargeResponse) ContextValidate

func (m *NewbillingCreateRechargeResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling create recharge response based on context it is used

func (*NewbillingCreateRechargeResponse) MarshalBinary

func (m *NewbillingCreateRechargeResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateRechargeResponse) UnmarshalBinary

func (m *NewbillingCreateRechargeResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateRechargeResponse) Validate

Validate validates this newbilling create recharge response

type NewbillingCreateResourcePackageOrderRequest

type NewbillingCreateResourcePackageOrderRequest struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 描述信息
	Description string `json:"description,omitempty"`

	// 扩展信息
	ExtraInfo string `json:"extra_info,omitempty"`

	// 资源包产品及属性信息
	OrderProductSet []*NewbillingResourcePackageOrderProduct `json:"order_product_set"`

	// 主订单用户ID,对应【customer_id】
	OrderUserID string `json:"order_user_id,omitempty"`

	// 主订单用户名称
	OrderUserName string `json:"order_user_name,omitempty"`
}

NewbillingCreateResourcePackageOrderRequest 购买资源包订单请求信息

swagger:model newbillingCreateResourcePackageOrderRequest

func (*NewbillingCreateResourcePackageOrderRequest) ContextValidate

ContextValidate validate this newbilling create resource package order request based on the context it is used

func (*NewbillingCreateResourcePackageOrderRequest) MarshalBinary

func (m *NewbillingCreateResourcePackageOrderRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateResourcePackageOrderRequest) UnmarshalBinary

func (m *NewbillingCreateResourcePackageOrderRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateResourcePackageOrderRequest) Validate

Validate validates this newbilling create resource package order request

type NewbillingCreateRoleRequest

type NewbillingCreateRoleRequest struct {

	// 角色描述
	Description string `json:"description,omitempty"`

	// 角色名称
	RoleName string `json:"role_name,omitempty"`

	// role type
	RoleType int64 `json:"role_type,omitempty"`
}

NewbillingCreateRoleRequest 创建角色请求信息

swagger:model newbillingCreateRoleRequest

func (*NewbillingCreateRoleRequest) ContextValidate

func (m *NewbillingCreateRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling create role request based on context it is used

func (*NewbillingCreateRoleRequest) MarshalBinary

func (m *NewbillingCreateRoleRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateRoleRequest) UnmarshalBinary

func (m *NewbillingCreateRoleRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateRoleRequest) Validate

func (m *NewbillingCreateRoleRequest) Validate(formats strfmt.Registry) error

Validate validates this newbilling create role request

type NewbillingCreateRoleResponse

type NewbillingCreateRoleResponse struct {

	// 角色ID
	RoleID string `json:"role_id,omitempty"`
}

NewbillingCreateRoleResponse 创建角色返回信息

swagger:model newbillingCreateRoleResponse

func (*NewbillingCreateRoleResponse) ContextValidate

func (m *NewbillingCreateRoleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling create role response based on context it is used

func (*NewbillingCreateRoleResponse) MarshalBinary

func (m *NewbillingCreateRoleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateRoleResponse) UnmarshalBinary

func (m *NewbillingCreateRoleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateRoleResponse) Validate

func (m *NewbillingCreateRoleResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling create role response

type NewbillingCreateStrategyRequest

type NewbillingCreateStrategyRequest struct {

	// 接入系统ID仅super user有效,接入系统管理员/成员会默认用当前登陆的接入系统
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 基础折扣
	BasicDiscount float32 `json:"basic_discount,omitempty"`

	// 计费项ID @gotags: valid:"Required"
	CompID string `json:"comp_id,omitempty"`

	// 费用表达式公式 @gotags: valid:"Required"
	CostExpression string `json:"cost_expression,omitempty"`

	// 条件表达式
	FilterExpression string `json:"filter_expression,omitempty"`

	// 策略名称 @gotags: valid:"Required;MaxSize(60)"
	Name string `json:"name,omitempty"`

	// position
	Position int64 `json:"position,omitempty"`

	// 产品ID @gotags: valid:"Required"
	ProdID string `json:"prod_id,omitempty"`

	// 策略备注
	Remark string `json:"remark,omitempty"`

	// 策略ID
	StrategyCode string `json:"strategy_code,omitempty"`
}

NewbillingCreateStrategyRequest 创建策略请求信息

swagger:model newbillingCreateStrategyRequest

func (*NewbillingCreateStrategyRequest) ContextValidate

func (m *NewbillingCreateStrategyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling create strategy request based on context it is used

func (*NewbillingCreateStrategyRequest) MarshalBinary

func (m *NewbillingCreateStrategyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateStrategyRequest) UnmarshalBinary

func (m *NewbillingCreateStrategyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateStrategyRequest) Validate

Validate validates this newbilling create strategy request

type NewbillingCreateStrategyResponse

type NewbillingCreateStrategyResponse struct {

	// 策略ID
	StrategyID string `json:"strategy_id,omitempty"`
}

NewbillingCreateStrategyResponse 创建策略返回信息

swagger:model newbillingCreateStrategyResponse

func (*NewbillingCreateStrategyResponse) ContextValidate

func (m *NewbillingCreateStrategyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling create strategy response based on context it is used

func (*NewbillingCreateStrategyResponse) MarshalBinary

func (m *NewbillingCreateStrategyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateStrategyResponse) UnmarshalBinary

func (m *NewbillingCreateStrategyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateStrategyResponse) Validate

Validate validates this newbilling create strategy response

type NewbillingCreateUserRequest

type NewbillingCreateUserRequest struct {

	// 地址
	Address string `json:"address,omitempty"`

	// 公司编码
	CompanyCode string `json:"company_code,omitempty"`

	// 公司名称
	CompanyName string `json:"company_name,omitempty"`

	// 公司电话
	CompanyPhone string `json:"company_phone,omitempty"`

	// 货币种类
	Currency string `json:"currency,omitempty"`

	// 用户邮件-帐号
	Email string `json:"email,omitempty"`

	// 用户图像
	Image string `json:"image,omitempty"`

	// 所属行业
	IndustryCategory string `json:"industry_category,omitempty"`

	// 语言
	Lang string `json:"lang,omitempty"`

	// 用户密码
	Passwd string `json:"passwd,omitempty"`

	// 用户编码
	PersonalCode string `json:"personal_code,omitempty"`

	// 用户姓名
	PersonalName string `json:"personal_name,omitempty"`

	// 手机号
	Phone string `json:"phone,omitempty"`

	// 备注
	Remarks string `json:"remarks,omitempty"`

	// 销售类型
	SaleType string `json:"sale_type,omitempty"`

	// 用户ID
	UserID string `json:"user_id,omitempty"`

	// 验证类型
	VerifyType string `json:"verify_type,omitempty"`
}

NewbillingCreateUserRequest 创建用户帐号请求信息

swagger:model newbillingCreateUserRequest

func (*NewbillingCreateUserRequest) ContextValidate

func (m *NewbillingCreateUserRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling create user request based on context it is used

func (*NewbillingCreateUserRequest) MarshalBinary

func (m *NewbillingCreateUserRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateUserRequest) UnmarshalBinary

func (m *NewbillingCreateUserRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateUserRequest) Validate

func (m *NewbillingCreateUserRequest) Validate(formats strfmt.Registry) error

Validate validates this newbilling create user request

type NewbillingCreateUserResponse

type NewbillingCreateUserResponse struct {

	// 创建用户生成的用户ID
	UserID string `json:"user_id,omitempty"`
}

NewbillingCreateUserResponse 创建用户帐号返回信息

swagger:model newbillingCreateUserResponse

func (*NewbillingCreateUserResponse) ContextValidate

func (m *NewbillingCreateUserResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling create user response based on context it is used

func (*NewbillingCreateUserResponse) MarshalBinary

func (m *NewbillingCreateUserResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCreateUserResponse) UnmarshalBinary

func (m *NewbillingCreateUserResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCreateUserResponse) Validate

func (m *NewbillingCreateUserResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling create user response

type NewbillingCustomer

type NewbillingCustomer struct {

	// 接入系统的owner的user id
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 用户余额, 单位元,保留两位小数
	Balance float32 `json:"balance,omitempty"`

	// c id
	CID string `json:"c_id,omitempty"`

	// 公司名称
	CompanyName string `json:"company_name,omitempty"`

	// 货币种类
	Currency string `json:"currency,omitempty"`

	// 客户ID
	CustomerID string `json:"customer_id,omitempty"`

	// 客户类型下的客户来源
	CustomerSource string `json:"customer_source,omitempty"`

	// 客户email
	Email string `json:"email,omitempty"`

	// 是否独立计费
	IsOwnBilling int64 `json:"is_own_billing,omitempty"`

	// 客户名称
	Name string `json:"name,omitempty"`

	// 透支开始时间
	// Format: date-time
	OverdraftBeginTime *strfmt.DateTime `json:"overdraft_begin_time,omitempty"`

	// 透支类型
	OverdraftType string `json:"overdraft_type,omitempty"`

	// 透支能力值
	OverdraftValue string `json:"overdraft_value,omitempty"`

	// 父客户Id
	ParentCustomerID string `json:"parent_customer_id,omitempty"`

	// 付费模式 1.先付费 2.后付费
	PayMode int64 `json:"pay_mode,omitempty"`

	// 客户电话
	Phone string `json:"phone,omitempty"`
}

NewbillingCustomer 客户管理

swagger:model newbillingCustomer

func (*NewbillingCustomer) ContextValidate

func (m *NewbillingCustomer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling customer based on context it is used

func (*NewbillingCustomer) MarshalBinary

func (m *NewbillingCustomer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCustomer) UnmarshalBinary

func (m *NewbillingCustomer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCustomer) Validate

func (m *NewbillingCustomer) Validate(formats strfmt.Registry) error

Validate validates this newbilling customer

type NewbillingCustomerConsume

type NewbillingCustomerConsume struct {

	// attr id
	AttrID string `json:"attr_id,omitempty"`

	// 总共消费的值
	ConsumeValue string `json:"consume_value,omitempty"`

	// cp id
	CpID string `json:"cp_id,omitempty"`

	// prod inst id ext
	ProdInstIDExt string `json:"prod_inst_id_ext,omitempty"`

	// 实际交易扣除的值
	TransValue string `json:"trans_value,omitempty"`
}

NewbillingCustomerConsume newbilling customer consume

swagger:model newbillingCustomerConsume

func (*NewbillingCustomerConsume) ContextValidate

func (m *NewbillingCustomerConsume) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling customer consume based on context it is used

func (*NewbillingCustomerConsume) MarshalBinary

func (m *NewbillingCustomerConsume) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCustomerConsume) UnmarshalBinary

func (m *NewbillingCustomerConsume) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCustomerConsume) Validate

func (m *NewbillingCustomerConsume) Validate(formats strfmt.Registry) error

Validate validates this newbilling customer consume

type NewbillingCustomerConsumeInfo

type NewbillingCustomerConsumeInfo struct {

	// ccs
	Ccs []*NewbillingCustomerConsume `json:"ccs"`

	// 资源量自身的subs_component_id,或者是bill id
	ObjectID string `json:"object_id,omitempty"`
}

NewbillingCustomerConsumeInfo newbilling customer consume info

swagger:model newbillingCustomerConsumeInfo

func (*NewbillingCustomerConsumeInfo) ContextValidate

func (m *NewbillingCustomerConsumeInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling customer consume info based on the context it is used

func (*NewbillingCustomerConsumeInfo) MarshalBinary

func (m *NewbillingCustomerConsumeInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCustomerConsumeInfo) UnmarshalBinary

func (m *NewbillingCustomerConsumeInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCustomerConsumeInfo) Validate

func (m *NewbillingCustomerConsumeInfo) Validate(formats strfmt.Registry) error

Validate validates this newbilling customer consume info

type NewbillingCustomerConsumeResponse

type NewbillingCustomerConsumeResponse struct {

	// failed
	Failed []*NewbillingCustomerConsumeInfo `json:"failed"`

	// running to done cps
	RunningToDoneCps []string `json:"running_to_done_cps"`

	// success
	Success []*NewbillingCustomerConsumeInfo `json:"success"`

	// to end subs comps
	ToEndSubsComps []string `json:"to_end_subs_comps"`

	// unhandle
	Unhandle []string `json:"unhandle"`

	// used
	Used bool `json:"used,omitempty"`
}

NewbillingCustomerConsumeResponse newbilling customer consume response

swagger:model newbillingCustomerConsumeResponse

func (*NewbillingCustomerConsumeResponse) ContextValidate

func (m *NewbillingCustomerConsumeResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling customer consume response based on the context it is used

func (*NewbillingCustomerConsumeResponse) MarshalBinary

func (m *NewbillingCustomerConsumeResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCustomerConsumeResponse) UnmarshalBinary

func (m *NewbillingCustomerConsumeResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCustomerConsumeResponse) Validate

Validate validates this newbilling customer consume response

type NewbillingCustomerCurrency

type NewbillingCustomerCurrency struct {

	// access sys id
	AccessSysID string `json:"access_sys_id,omitempty"`

	// cc id
	CcID string `json:"cc_id,omitempty"`

	// currency type
	CurrencyType string `json:"currency_type,omitempty"`

	// currency value
	CurrencyValue string `json:"currency_value,omitempty"`

	// customer id
	CustomerID string `json:"customer_id,omitempty"`

	// duration
	Duration string `json:"duration,omitempty"`

	// expire time
	// Format: date-time
	ExpireTime *strfmt.DateTime `json:"expire_time,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// start time
	// Format: date-time
	StartTime *strfmt.DateTime `json:"start_time,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// used value
	UsedValue string `json:"used_value,omitempty"`
}

NewbillingCustomerCurrency newbilling customer currency

swagger:model newbillingCustomerCurrency

func (*NewbillingCustomerCurrency) ContextValidate

func (m *NewbillingCustomerCurrency) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling customer currency based on context it is used

func (*NewbillingCustomerCurrency) MarshalBinary

func (m *NewbillingCustomerCurrency) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCustomerCurrency) UnmarshalBinary

func (m *NewbillingCustomerCurrency) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCustomerCurrency) Validate

func (m *NewbillingCustomerCurrency) Validate(formats strfmt.Registry) error

Validate validates this newbilling customer currency

type NewbillingCustomerDiscountDetail

type NewbillingCustomerDiscountDetail struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 创建时间
	// Format: date-time
	CreateTime *strfmt.DateTime `json:"create_time,omitempty"`

	// 客户折扣描述
	CustomerDiscountDesc string `json:"customer_discount_desc,omitempty"`

	// 客户折扣ID
	CustomerDiscountID string `json:"customer_discount_id,omitempty"`

	// 客户折扣名称
	CustomerDiscountName string `json:"customer_discount_name,omitempty"`

	// 客户ID
	CustomerID string `json:"customer_id,omitempty"`

	// 是否倒序排序- 0:启用,1:禁用
	Disabled bool `json:"disabled,omitempty"`

	// 折扣模式 user=用户折扣为准 both=折上折(默认)
	DiscountMode string `json:"discount_mode,omitempty"`

	// 折扣值
	DiscountValue int64 `json:"discount_value,omitempty"`

	// 客户折扣生效时间
	// Format: date-time
	EffectiveTime *strfmt.DateTime `json:"effective_time,omitempty"`

	// 客户折扣失效时间
	// Format: date-time
	ExpirationTime *strfmt.DateTime `json:"expiration_time,omitempty"`

	// 折扣的产品信息组
	FiltersMapList []*NewbillingDiscountFilerMap `json:"filters_map_list"`

	// 状态
	Status string `json:"status,omitempty"`

	// 更新时间
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"update_time,omitempty"`
}

NewbillingCustomerDiscountDetail 折扣的产品信息

swagger:model newbillingCustomerDiscountDetail

func (*NewbillingCustomerDiscountDetail) ContextValidate

func (m *NewbillingCustomerDiscountDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling customer discount detail based on the context it is used

func (*NewbillingCustomerDiscountDetail) MarshalBinary

func (m *NewbillingCustomerDiscountDetail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCustomerDiscountDetail) UnmarshalBinary

func (m *NewbillingCustomerDiscountDetail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCustomerDiscountDetail) Validate

Validate validates this newbilling customer discount detail

type NewbillingCustomerPropertiesExpiredNotifyResponse

type NewbillingCustomerPropertiesExpiredNotifyResponse struct {

	// ok
	Ok bool `json:"ok,omitempty"`
}

NewbillingCustomerPropertiesExpiredNotifyResponse newbilling customer properties expired notify response

swagger:model newbillingCustomerPropertiesExpiredNotifyResponse

func (*NewbillingCustomerPropertiesExpiredNotifyResponse) ContextValidate

ContextValidate validates this newbilling customer properties expired notify response based on context it is used

func (*NewbillingCustomerPropertiesExpiredNotifyResponse) MarshalBinary

MarshalBinary interface implementation

func (*NewbillingCustomerPropertiesExpiredNotifyResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*NewbillingCustomerPropertiesExpiredNotifyResponse) Validate

Validate validates this newbilling customer properties expired notify response

type NewbillingCustomerPropertiesStatusCallbackResponse

type NewbillingCustomerPropertiesStatusCallbackResponse struct {

	// ok
	Ok bool `json:"ok,omitempty"`
}

NewbillingCustomerPropertiesStatusCallbackResponse newbilling customer properties status callback response

swagger:model newbillingCustomerPropertiesStatusCallbackResponse

func (*NewbillingCustomerPropertiesStatusCallbackResponse) ContextValidate

ContextValidate validates this newbilling customer properties status callback response based on context it is used

func (*NewbillingCustomerPropertiesStatusCallbackResponse) MarshalBinary

MarshalBinary interface implementation

func (*NewbillingCustomerPropertiesStatusCallbackResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*NewbillingCustomerPropertiesStatusCallbackResponse) Validate

Validate validates this newbilling customer properties status callback response

type NewbillingCustomerRefundResponse

type NewbillingCustomerRefundResponse interface{}

NewbillingCustomerRefundResponse newbilling customer refund response

swagger:model newbillingCustomerRefundResponse

type NewbillingCustomerResource

type NewbillingCustomerResource struct {

	// access sys id
	AccessSysID string `json:"access_sys_id,omitempty"`

	// attr id
	AttrID string `json:"attr_id,omitempty"`

	// attr name
	AttrName string `json:"attr_name,omitempty"`

	// attr value
	AttrValue string `json:"attr_value,omitempty"`

	// comp code
	CompCode string `json:"comp_code,omitempty"`

	// comp id
	CompID string `json:"comp_id,omitempty"`

	// comp name
	CompName string `json:"comp_name,omitempty"`

	// cr id
	CrID string `json:"cr_id,omitempty"`

	// customer id
	CustomerID string `json:"customer_id,omitempty"`

	// duration
	Duration string `json:"duration,omitempty"`

	// expire time
	// Format: date-time
	ExpireTime *strfmt.DateTime `json:"expire_time,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// resource type
	ResourceType string `json:"resource_type,omitempty"`

	// start time
	// Format: date-time
	StartTime *strfmt.DateTime `json:"start_time,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// subs component id
	SubsComponentID string `json:"subs_component_id,omitempty"`

	// unit
	Unit string `json:"unit,omitempty"`

	// used value
	UsedValue string `json:"used_value,omitempty"`

	// value type
	ValueType string `json:"value_type,omitempty"`
}

NewbillingCustomerResource newbilling customer resource

swagger:model newbillingCustomerResource

func (*NewbillingCustomerResource) ContextValidate

func (m *NewbillingCustomerResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling customer resource based on context it is used

func (*NewbillingCustomerResource) MarshalBinary

func (m *NewbillingCustomerResource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCustomerResource) UnmarshalBinary

func (m *NewbillingCustomerResource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCustomerResource) Validate

func (m *NewbillingCustomerResource) Validate(formats strfmt.Registry) error

Validate validates this newbilling customer resource

type NewbillingCustomerResourceTransaction

type NewbillingCustomerResourceTransaction struct {

	// access sys id
	AccessSysID string `json:"access_sys_id,omitempty"`

	// attr id
	AttrID string `json:"attr_id,omitempty"`

	// attr name
	AttrName string `json:"attr_name,omitempty"`

	// cr id
	CrID string `json:"cr_id,omitempty"`

	// create time
	// Format: date-time
	CreateTime *strfmt.DateTime `json:"create_time,omitempty"`

	// crt id
	CrtID string `json:"crt_id,omitempty"`

	// 客户ID
	CustomerID string `json:"customer_id,omitempty"`

	// order id
	OrderID string `json:"order_id,omitempty"`

	// prod inst id ext
	ProdInstIDExt string `json:"prod_inst_id_ext,omitempty"`

	// trans type
	TransType string `json:"trans_type,omitempty"`

	// trans value
	TransValue string `json:"trans_value,omitempty"`

	// unit
	Unit string `json:"unit,omitempty"`
}

NewbillingCustomerResourceTransaction newbilling customer resource transaction

swagger:model newbillingCustomerResourceTransaction

func (*NewbillingCustomerResourceTransaction) ContextValidate

func (m *NewbillingCustomerResourceTransaction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling customer resource transaction based on context it is used

func (*NewbillingCustomerResourceTransaction) MarshalBinary

func (m *NewbillingCustomerResourceTransaction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCustomerResourceTransaction) UnmarshalBinary

func (m *NewbillingCustomerResourceTransaction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCustomerResourceTransaction) Validate

Validate validates this newbilling customer resource transaction

type NewbillingCustomerTransactResponse

type NewbillingCustomerTransactResponse struct {

	// trans result
	TransResult string `json:"trans_result,omitempty"`
}

NewbillingCustomerTransactResponse newbilling customer transact response

swagger:model newbillingCustomerTransactResponse

func (*NewbillingCustomerTransactResponse) ContextValidate

func (m *NewbillingCustomerTransactResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling customer transact response based on context it is used

func (*NewbillingCustomerTransactResponse) MarshalBinary

func (m *NewbillingCustomerTransactResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingCustomerTransactResponse) UnmarshalBinary

func (m *NewbillingCustomerTransactResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingCustomerTransactResponse) Validate

Validate validates this newbilling customer transact response

type NewbillingDeleteAccessSystemUserRequest

type NewbillingDeleteAccessSystemUserRequest struct {

	// 用户ID
	UserID string `json:"user_id,omitempty"`
}

NewbillingDeleteAccessSystemUserRequest 删除未激活用户请求信息

swagger:model newbillingDeleteAccessSystemUserRequest

func (*NewbillingDeleteAccessSystemUserRequest) ContextValidate

ContextValidate validates this newbilling delete access system user request based on context it is used

func (*NewbillingDeleteAccessSystemUserRequest) MarshalBinary

func (m *NewbillingDeleteAccessSystemUserRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDeleteAccessSystemUserRequest) UnmarshalBinary

func (m *NewbillingDeleteAccessSystemUserRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDeleteAccessSystemUserRequest) Validate

Validate validates this newbilling delete access system user request

type NewbillingDeleteAccessSystemUserResponse

type NewbillingDeleteAccessSystemUserResponse struct {

	// 用户ID
	Delete bool `json:"delete,omitempty"`
}

NewbillingDeleteAccessSystemUserResponse 删除未激活用户返回信息

swagger:model newbillingDeleteAccessSystemUserResponse

func (*NewbillingDeleteAccessSystemUserResponse) ContextValidate

ContextValidate validates this newbilling delete access system user response based on context it is used

func (*NewbillingDeleteAccessSystemUserResponse) MarshalBinary

func (m *NewbillingDeleteAccessSystemUserResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDeleteAccessSystemUserResponse) UnmarshalBinary

func (m *NewbillingDeleteAccessSystemUserResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDeleteAccessSystemUserResponse) Validate

Validate validates this newbilling delete access system user response

type NewbillingDeleteAccessSystemsRequest

type NewbillingDeleteAccessSystemsRequest struct {

	// 接入系统ID列表 @gotags: valid:"Required"
	AccessSysID []string `json:"access_sys_id"`
}

NewbillingDeleteAccessSystemsRequest 删除接入系统请求信息

swagger:model newbillingDeleteAccessSystemsRequest

func (*NewbillingDeleteAccessSystemsRequest) ContextValidate

func (m *NewbillingDeleteAccessSystemsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling delete access systems request based on context it is used

func (*NewbillingDeleteAccessSystemsRequest) MarshalBinary

func (m *NewbillingDeleteAccessSystemsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDeleteAccessSystemsRequest) UnmarshalBinary

func (m *NewbillingDeleteAccessSystemsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDeleteAccessSystemsRequest) Validate

Validate validates this newbilling delete access systems request

type NewbillingDeleteAccessSystemsResponse

type NewbillingDeleteAccessSystemsResponse struct {

	// 接入系统ID列表
	AccessSysID []string `json:"access_sys_id"`
}

NewbillingDeleteAccessSystemsResponse 删除接入系统请求信息

swagger:model newbillingDeleteAccessSystemsResponse

func (*NewbillingDeleteAccessSystemsResponse) ContextValidate

func (m *NewbillingDeleteAccessSystemsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling delete access systems response based on context it is used

func (*NewbillingDeleteAccessSystemsResponse) MarshalBinary

func (m *NewbillingDeleteAccessSystemsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDeleteAccessSystemsResponse) UnmarshalBinary

func (m *NewbillingDeleteAccessSystemsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDeleteAccessSystemsResponse) Validate

Validate validates this newbilling delete access systems response

type NewbillingDeleteActionRequest

type NewbillingDeleteActionRequest struct {

	// 操作信息ID
	ActionID string `json:"action_id,omitempty"`
}

NewbillingDeleteActionRequest 删除操作请求信息

swagger:model newbillingDeleteActionRequest

func (*NewbillingDeleteActionRequest) ContextValidate

func (m *NewbillingDeleteActionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling delete action request based on context it is used

func (*NewbillingDeleteActionRequest) MarshalBinary

func (m *NewbillingDeleteActionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDeleteActionRequest) UnmarshalBinary

func (m *NewbillingDeleteActionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDeleteActionRequest) Validate

func (m *NewbillingDeleteActionRequest) Validate(formats strfmt.Registry) error

Validate validates this newbilling delete action request

type NewbillingDeleteActionResponse

type NewbillingDeleteActionResponse struct {

	// 是否删除成功
	Ok bool `json:"ok,omitempty"`
}

NewbillingDeleteActionResponse 删除操作返回信息

swagger:model newbillingDeleteActionResponse

func (*NewbillingDeleteActionResponse) ContextValidate

func (m *NewbillingDeleteActionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling delete action response based on context it is used

func (*NewbillingDeleteActionResponse) MarshalBinary

func (m *NewbillingDeleteActionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDeleteActionResponse) UnmarshalBinary

func (m *NewbillingDeleteActionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDeleteActionResponse) Validate

func (m *NewbillingDeleteActionResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling delete action response

type NewbillingDeleteAttributesRequest

type NewbillingDeleteAttributesRequest struct {

	// 接入系统ID仅super user有效,接入系统管理员/成员会默认用当前登陆的接入系统
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 属性ID列表 @gotags:valid:"Required"
	AttrID []string `json:"attr_id"`
}

NewbillingDeleteAttributesRequest 删除属性请求信息

swagger:model newbillingDeleteAttributesRequest

func (*NewbillingDeleteAttributesRequest) ContextValidate

func (m *NewbillingDeleteAttributesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling delete attributes request based on context it is used

func (*NewbillingDeleteAttributesRequest) MarshalBinary

func (m *NewbillingDeleteAttributesRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDeleteAttributesRequest) UnmarshalBinary

func (m *NewbillingDeleteAttributesRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDeleteAttributesRequest) Validate

Validate validates this newbilling delete attributes request

type NewbillingDeleteAttributesResponse

type NewbillingDeleteAttributesResponse struct {

	// 属性ID列表
	AttrID []string `json:"attr_id"`
}

NewbillingDeleteAttributesResponse 删除属性返回信息

swagger:model newbillingDeleteAttributesResponse

func (*NewbillingDeleteAttributesResponse) ContextValidate

func (m *NewbillingDeleteAttributesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling delete attributes response based on context it is used

func (*NewbillingDeleteAttributesResponse) MarshalBinary

func (m *NewbillingDeleteAttributesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDeleteAttributesResponse) UnmarshalBinary

func (m *NewbillingDeleteAttributesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDeleteAttributesResponse) Validate

Validate validates this newbilling delete attributes response

type NewbillingDeleteCatalogsRequest

type NewbillingDeleteCatalogsRequest struct {

	// 接入系统ID仅super user有效,接入系统管理员/成员会默认用当前登陆的接入系统
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 产品目录ID列表
	CataID []string `json:"cata_id"`
}

NewbillingDeleteCatalogsRequest 删除产品目录请求信息

swagger:model newbillingDeleteCatalogsRequest

func (*NewbillingDeleteCatalogsRequest) ContextValidate

func (m *NewbillingDeleteCatalogsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling delete catalogs request based on context it is used

func (*NewbillingDeleteCatalogsRequest) MarshalBinary

func (m *NewbillingDeleteCatalogsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDeleteCatalogsRequest) UnmarshalBinary

func (m *NewbillingDeleteCatalogsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDeleteCatalogsRequest) Validate

Validate validates this newbilling delete catalogs request

type NewbillingDeleteCatalogsResponse

type NewbillingDeleteCatalogsResponse struct {

	// 产品目录ID列表  @gotags:valid:"Required"
	CataID []string `json:"cata_id"`
}

NewbillingDeleteCatalogsResponse 删除产品目录返回信息

swagger:model newbillingDeleteCatalogsResponse

func (*NewbillingDeleteCatalogsResponse) ContextValidate

func (m *NewbillingDeleteCatalogsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling delete catalogs response based on context it is used

func (*NewbillingDeleteCatalogsResponse) MarshalBinary

func (m *NewbillingDeleteCatalogsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDeleteCatalogsResponse) UnmarshalBinary

func (m *NewbillingDeleteCatalogsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDeleteCatalogsResponse) Validate

Validate validates this newbilling delete catalogs response

type NewbillingDeleteComponentsRequest

type NewbillingDeleteComponentsRequest struct {

	// 接入系统ID仅super user有效,接入系统管理员/成员会默认用当前登陆的接入系统
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 计费项ID列表   @gotags: valid:"Required"
	CompID []string `json:"comp_id"`
}

NewbillingDeleteComponentsRequest 删除计费项请求信息

swagger:model newbillingDeleteComponentsRequest

func (*NewbillingDeleteComponentsRequest) ContextValidate

func (m *NewbillingDeleteComponentsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling delete components request based on context it is used

func (*NewbillingDeleteComponentsRequest) MarshalBinary

func (m *NewbillingDeleteComponentsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDeleteComponentsRequest) UnmarshalBinary

func (m *NewbillingDeleteComponentsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDeleteComponentsRequest) Validate

Validate validates this newbilling delete components request

type NewbillingDeleteComponentsResponse

type NewbillingDeleteComponentsResponse struct {

	// 计费项ID列表
	CompID []string `json:"comp_id"`
}

NewbillingDeleteComponentsResponse 删除计费项返回信息

swagger:model newbillingDeleteComponentsResponse

func (*NewbillingDeleteComponentsResponse) ContextValidate

func (m *NewbillingDeleteComponentsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling delete components response based on context it is used

func (*NewbillingDeleteComponentsResponse) MarshalBinary

func (m *NewbillingDeleteComponentsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDeleteComponentsResponse) UnmarshalBinary

func (m *NewbillingDeleteComponentsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDeleteComponentsResponse) Validate

Validate validates this newbilling delete components response

type NewbillingDeleteCustomerDiscountsRequest

type NewbillingDeleteCustomerDiscountsRequest struct {

	// 客户折扣ID列表
	CustomerDiscountIds []string `json:"customer_discount_ids"`
}

NewbillingDeleteCustomerDiscountsRequest 删除客户折扣请求信息

swagger:model newbillingDeleteCustomerDiscountsRequest

func (*NewbillingDeleteCustomerDiscountsRequest) ContextValidate

ContextValidate validates this newbilling delete customer discounts request based on context it is used

func (*NewbillingDeleteCustomerDiscountsRequest) MarshalBinary

func (m *NewbillingDeleteCustomerDiscountsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDeleteCustomerDiscountsRequest) UnmarshalBinary

func (m *NewbillingDeleteCustomerDiscountsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDeleteCustomerDiscountsRequest) Validate

Validate validates this newbilling delete customer discounts request

type NewbillingDeleteCustomerDiscountsResponse

type NewbillingDeleteCustomerDiscountsResponse struct {

	// 客户折扣ID列表
	CustomerDiscountIds []string `json:"customer_discount_ids"`
}

NewbillingDeleteCustomerDiscountsResponse 删除客户折扣返回信息

swagger:model newbillingDeleteCustomerDiscountsResponse

func (*NewbillingDeleteCustomerDiscountsResponse) ContextValidate

ContextValidate validates this newbilling delete customer discounts response based on context it is used

func (*NewbillingDeleteCustomerDiscountsResponse) MarshalBinary

func (m *NewbillingDeleteCustomerDiscountsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDeleteCustomerDiscountsResponse) UnmarshalBinary

func (m *NewbillingDeleteCustomerDiscountsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDeleteCustomerDiscountsResponse) Validate

Validate validates this newbilling delete customer discounts response

type NewbillingDeleteFiltersRequest

type NewbillingDeleteFiltersRequest struct {

	// 接入系统ID仅super user有效,接入系统管理员/成员会默认用当前登陆的接入系统
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 条件ID列表 @gotags:valid:"Required"
	FilterID []string `json:"filter_id"`
}

NewbillingDeleteFiltersRequest 删除条件请求信息

swagger:model newbillingDeleteFiltersRequest

func (*NewbillingDeleteFiltersRequest) ContextValidate

func (m *NewbillingDeleteFiltersRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling delete filters request based on context it is used

func (*NewbillingDeleteFiltersRequest) MarshalBinary

func (m *NewbillingDeleteFiltersRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDeleteFiltersRequest) UnmarshalBinary

func (m *NewbillingDeleteFiltersRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDeleteFiltersRequest) Validate

func (m *NewbillingDeleteFiltersRequest) Validate(formats strfmt.Registry) error

Validate validates this newbilling delete filters request

type NewbillingDeleteFiltersResponse

type NewbillingDeleteFiltersResponse struct {

	// 条件ID列表
	FilterID []string `json:"filter_id"`
}

NewbillingDeleteFiltersResponse 删除条件返回信息

swagger:model newbillingDeleteFiltersResponse

func (*NewbillingDeleteFiltersResponse) ContextValidate

func (m *NewbillingDeleteFiltersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling delete filters response based on context it is used

func (*NewbillingDeleteFiltersResponse) MarshalBinary

func (m *NewbillingDeleteFiltersResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDeleteFiltersResponse) UnmarshalBinary

func (m *NewbillingDeleteFiltersResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDeleteFiltersResponse) Validate

Validate validates this newbilling delete filters response

type NewbillingDeleteOpenTokenRequest

type NewbillingDeleteOpenTokenRequest struct {

	// 【接入系统编码】
	AccessSysID string `json:"access_sys_id,omitempty"`

	// action
	Action string `json:"action,omitempty"`

	// expires
	Expires string `json:"expires,omitempty"`

	// open name
	OpenName string `json:"open_name,omitempty"`

	// signature
	Signature string `json:"signature,omitempty"`

	// 【user_id】
	UserID string `json:"user_id,omitempty"`
}

NewbillingDeleteOpenTokenRequest newbilling delete open token request

swagger:model newbillingDeleteOpenTokenRequest

func (*NewbillingDeleteOpenTokenRequest) ContextValidate

func (m *NewbillingDeleteOpenTokenRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling delete open token request based on context it is used

func (*NewbillingDeleteOpenTokenRequest) MarshalBinary

func (m *NewbillingDeleteOpenTokenRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDeleteOpenTokenRequest) UnmarshalBinary

func (m *NewbillingDeleteOpenTokenRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDeleteOpenTokenRequest) Validate

Validate validates this newbilling delete open token request

type NewbillingDeleteOpenTokenResponse

type NewbillingDeleteOpenTokenResponse struct {

	// logout
	Logout bool `json:"logout,omitempty"`
}

NewbillingDeleteOpenTokenResponse newbilling delete open token response

swagger:model newbillingDeleteOpenTokenResponse

func (*NewbillingDeleteOpenTokenResponse) ContextValidate

func (m *NewbillingDeleteOpenTokenResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling delete open token response based on context it is used

func (*NewbillingDeleteOpenTokenResponse) MarshalBinary

func (m *NewbillingDeleteOpenTokenResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDeleteOpenTokenResponse) UnmarshalBinary

func (m *NewbillingDeleteOpenTokenResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDeleteOpenTokenResponse) Validate

Validate validates this newbilling delete open token response

type NewbillingDeletePlansRequest

type NewbillingDeletePlansRequest struct {

	// 接入系统ID仅super user有效,接入系统管理员/成员会默认用当前登陆的接入系统
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 方案ID列表 @gotags:valid:"Required"
	PlanID []string `json:"plan_id"`
}

NewbillingDeletePlansRequest 删除方案请求信息

swagger:model newbillingDeletePlansRequest

func (*NewbillingDeletePlansRequest) ContextValidate

func (m *NewbillingDeletePlansRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling delete plans request based on context it is used

func (*NewbillingDeletePlansRequest) MarshalBinary

func (m *NewbillingDeletePlansRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDeletePlansRequest) UnmarshalBinary

func (m *NewbillingDeletePlansRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDeletePlansRequest) Validate

func (m *NewbillingDeletePlansRequest) Validate(formats strfmt.Registry) error

Validate validates this newbilling delete plans request

type NewbillingDeletePlansResponse

type NewbillingDeletePlansResponse struct {

	// 方案ID列表
	PlanID []string `json:"plan_id"`
}

NewbillingDeletePlansResponse 删除方案返回信息

swagger:model newbillingDeletePlansResponse

func (*NewbillingDeletePlansResponse) ContextValidate

func (m *NewbillingDeletePlansResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling delete plans response based on context it is used

func (*NewbillingDeletePlansResponse) MarshalBinary

func (m *NewbillingDeletePlansResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDeletePlansResponse) UnmarshalBinary

func (m *NewbillingDeletePlansResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDeletePlansResponse) Validate

func (m *NewbillingDeletePlansResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling delete plans response

type NewbillingDeletePricingRequest

type NewbillingDeletePricingRequest struct {

	// comp ids
	CompIds []string `json:"comp_ids"`

	// plan ids
	PlanIds []string `json:"plan_ids"`

	// prod id
	ProdID string `json:"prod_id,omitempty"`
}

NewbillingDeletePricingRequest newbilling delete pricing request

swagger:model newbillingDeletePricingRequest

func (*NewbillingDeletePricingRequest) ContextValidate

func (m *NewbillingDeletePricingRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling delete pricing request based on context it is used

func (*NewbillingDeletePricingRequest) MarshalBinary

func (m *NewbillingDeletePricingRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDeletePricingRequest) UnmarshalBinary

func (m *NewbillingDeletePricingRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDeletePricingRequest) Validate

func (m *NewbillingDeletePricingRequest) Validate(formats strfmt.Registry) error

Validate validates this newbilling delete pricing request

type NewbillingDeletePricingResponse

type NewbillingDeletePricingResponse struct {

	// delete
	Delete bool `json:"delete,omitempty"`

	// err msg
	ErrMsg string `json:"err_msg,omitempty"`
}

NewbillingDeletePricingResponse newbilling delete pricing response

swagger:model newbillingDeletePricingResponse

func (*NewbillingDeletePricingResponse) ContextValidate

func (m *NewbillingDeletePricingResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling delete pricing response based on context it is used

func (*NewbillingDeletePricingResponse) MarshalBinary

func (m *NewbillingDeletePricingResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDeletePricingResponse) UnmarshalBinary

func (m *NewbillingDeletePricingResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDeletePricingResponse) Validate

Validate validates this newbilling delete pricing response

type NewbillingDeleteProductsRequest

type NewbillingDeleteProductsRequest struct {

	// 接入系统ID仅super user有效,接入系统管理员/成员会默认用当前登陆的接入系统
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 产品ID列表  @gotags:valid:"Required"
	ProdID []string `json:"prod_id"`
}

NewbillingDeleteProductsRequest 删除产品请求信息

swagger:model newbillingDeleteProductsRequest

func (*NewbillingDeleteProductsRequest) ContextValidate

func (m *NewbillingDeleteProductsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling delete products request based on context it is used

func (*NewbillingDeleteProductsRequest) MarshalBinary

func (m *NewbillingDeleteProductsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDeleteProductsRequest) UnmarshalBinary

func (m *NewbillingDeleteProductsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDeleteProductsRequest) Validate

Validate validates this newbilling delete products request

type NewbillingDeleteProductsResponse

type NewbillingDeleteProductsResponse struct {

	// 产品ID列表
	ProdID []string `json:"prod_id"`
}

NewbillingDeleteProductsResponse 删除产品返回信息

swagger:model newbillingDeleteProductsResponse

func (*NewbillingDeleteProductsResponse) ContextValidate

func (m *NewbillingDeleteProductsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling delete products response based on context it is used

func (*NewbillingDeleteProductsResponse) MarshalBinary

func (m *NewbillingDeleteProductsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDeleteProductsResponse) UnmarshalBinary

func (m *NewbillingDeleteProductsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDeleteProductsResponse) Validate

Validate validates this newbilling delete products response

type NewbillingDeleteRoleRequest

type NewbillingDeleteRoleRequest struct {

	// 角色ID
	RoleID string `json:"role_id,omitempty"`
}

NewbillingDeleteRoleRequest 删除角色请求信息

swagger:model newbillingDeleteRoleRequest

func (*NewbillingDeleteRoleRequest) ContextValidate

func (m *NewbillingDeleteRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling delete role request based on context it is used

func (*NewbillingDeleteRoleRequest) MarshalBinary

func (m *NewbillingDeleteRoleRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDeleteRoleRequest) UnmarshalBinary

func (m *NewbillingDeleteRoleRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDeleteRoleRequest) Validate

func (m *NewbillingDeleteRoleRequest) Validate(formats strfmt.Registry) error

Validate validates this newbilling delete role request

type NewbillingDeleteRoleResponse

type NewbillingDeleteRoleResponse struct {

	// 角色ID
	Delete bool `json:"delete,omitempty"`
}

NewbillingDeleteRoleResponse 删除角色返回信息

swagger:model newbillingDeleteRoleResponse

func (*NewbillingDeleteRoleResponse) ContextValidate

func (m *NewbillingDeleteRoleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling delete role response based on context it is used

func (*NewbillingDeleteRoleResponse) MarshalBinary

func (m *NewbillingDeleteRoleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDeleteRoleResponse) UnmarshalBinary

func (m *NewbillingDeleteRoleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDeleteRoleResponse) Validate

func (m *NewbillingDeleteRoleResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling delete role response

type NewbillingDeleteStrategiesRequest

type NewbillingDeleteStrategiesRequest struct {

	// 接入系统ID仅super user有效,接入系统管理员/成员会默认用当前登陆的接入系统
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 策略ID列表 @gotags: valid:"Required"
	StrategyID []string `json:"strategy_id"`
}

NewbillingDeleteStrategiesRequest 删除策略请求信息

swagger:model newbillingDeleteStrategiesRequest

func (*NewbillingDeleteStrategiesRequest) ContextValidate

func (m *NewbillingDeleteStrategiesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling delete strategies request based on context it is used

func (*NewbillingDeleteStrategiesRequest) MarshalBinary

func (m *NewbillingDeleteStrategiesRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDeleteStrategiesRequest) UnmarshalBinary

func (m *NewbillingDeleteStrategiesRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDeleteStrategiesRequest) Validate

Validate validates this newbilling delete strategies request

type NewbillingDeleteStrategiesResponse

type NewbillingDeleteStrategiesResponse struct {

	// 策略ID列表
	StrategyID []string `json:"strategy_id"`
}

NewbillingDeleteStrategiesResponse 删除策略返回信息

swagger:model newbillingDeleteStrategiesResponse

func (*NewbillingDeleteStrategiesResponse) ContextValidate

func (m *NewbillingDeleteStrategiesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling delete strategies response based on context it is used

func (*NewbillingDeleteStrategiesResponse) MarshalBinary

func (m *NewbillingDeleteStrategiesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDeleteStrategiesResponse) UnmarshalBinary

func (m *NewbillingDeleteStrategiesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDeleteStrategiesResponse) Validate

Validate validates this newbilling delete strategies response

type NewbillingDescribeAPIIdsResponse

type NewbillingDescribeAPIIdsResponse struct {

	// 返回所有操作API列表
	APIID []string `json:"api_id"`
}

NewbillingDescribeAPIIdsResponse 查询所有操作API返回信息

swagger:model newbillingDescribeApiIdsResponse

func (*NewbillingDescribeAPIIdsResponse) ContextValidate

func (m *NewbillingDescribeAPIIdsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling describe Api ids response based on context it is used

func (*NewbillingDescribeAPIIdsResponse) MarshalBinary

func (m *NewbillingDescribeAPIIdsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDescribeAPIIdsResponse) UnmarshalBinary

func (m *NewbillingDescribeAPIIdsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDescribeAPIIdsResponse) Validate

Validate validates this newbilling describe Api ids response

type NewbillingDescribeAccessSystemUserResponse

type NewbillingDescribeAccessSystemUserResponse struct {

	// access sys id
	AccessSysID string `json:"access_sys_id,omitempty"`

	// access sys user id
	AccessSysUserID string `json:"access_sys_user_id,omitempty"`

	// user id
	UserID string `json:"user_id,omitempty"`

	// user type
	UserType int64 `json:"user_type,omitempty"`
}

NewbillingDescribeAccessSystemUserResponse newbilling describe access system user response

swagger:model newbillingDescribeAccessSystemUserResponse

func (*NewbillingDescribeAccessSystemUserResponse) ContextValidate

ContextValidate validates this newbilling describe access system user response based on context it is used

func (*NewbillingDescribeAccessSystemUserResponse) MarshalBinary

func (m *NewbillingDescribeAccessSystemUserResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDescribeAccessSystemUserResponse) UnmarshalBinary

func (m *NewbillingDescribeAccessSystemUserResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDescribeAccessSystemUserResponse) Validate

Validate validates this newbilling describe access system user response

type NewbillingDescribeAccessSystemsByOwnerResponse

type NewbillingDescribeAccessSystemsByOwnerResponse struct {

	// 返回用户列表
	OwnerSet []*NewbillingAccessSystemOwner `json:"owner_set"`

	// 返回总数
	TotalCount int64 `json:"total_count,omitempty"`
}

NewbillingDescribeAccessSystemsByOwnerResponse 查询用户返回信息

swagger:model newbillingDescribeAccessSystemsByOwnerResponse

func (*NewbillingDescribeAccessSystemsByOwnerResponse) ContextValidate

ContextValidate validate this newbilling describe access systems by owner response based on the context it is used

func (*NewbillingDescribeAccessSystemsByOwnerResponse) MarshalBinary

MarshalBinary interface implementation

func (*NewbillingDescribeAccessSystemsByOwnerResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*NewbillingDescribeAccessSystemsByOwnerResponse) Validate

Validate validates this newbilling describe access systems by owner response

type NewbillingDescribeAccessSystemsResponse

type NewbillingDescribeAccessSystemsResponse struct {

	// 返回结果列表
	AccessSystemSet []*NewbillingAccessSystem `json:"access_system_set"`

	// 返回总数
	Total int64 `json:"total,omitempty"`
}

NewbillingDescribeAccessSystemsResponse 查询接入系统返回信息

swagger:model newbillingDescribeAccessSystemsResponse

func (*NewbillingDescribeAccessSystemsResponse) ContextValidate

ContextValidate validate this newbilling describe access systems response based on the context it is used

func (*NewbillingDescribeAccessSystemsResponse) MarshalBinary

func (m *NewbillingDescribeAccessSystemsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDescribeAccessSystemsResponse) UnmarshalBinary

func (m *NewbillingDescribeAccessSystemsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDescribeAccessSystemsResponse) Validate

Validate validates this newbilling describe access systems response

type NewbillingDescribeActionsResponse

type NewbillingDescribeActionsResponse struct {

	// 返回操作列表
	ActionSet []*NewbillingAction `json:"action_set"`

	// 返回总数
	TotalCount int64 `json:"total_count,omitempty"`
}

NewbillingDescribeActionsResponse 查询操作返回信息

swagger:model newbillingDescribeActionsResponse

func (*NewbillingDescribeActionsResponse) ContextValidate

func (m *NewbillingDescribeActionsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling describe actions response based on the context it is used

func (*NewbillingDescribeActionsResponse) MarshalBinary

func (m *NewbillingDescribeActionsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDescribeActionsResponse) UnmarshalBinary

func (m *NewbillingDescribeActionsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDescribeActionsResponse) Validate

Validate validates this newbilling describe actions response

type NewbillingDescribeAttributesResponse

type NewbillingDescribeAttributesResponse struct {

	// 返回结果列表
	AttributeSet []*NewbillingAttribute `json:"attribute_set"`

	// 返回总数
	Total int64 `json:"total,omitempty"`
}

NewbillingDescribeAttributesResponse 查询属性返回信息

swagger:model newbillingDescribeAttributesResponse

func (*NewbillingDescribeAttributesResponse) ContextValidate

func (m *NewbillingDescribeAttributesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling describe attributes response based on the context it is used

func (*NewbillingDescribeAttributesResponse) MarshalBinary

func (m *NewbillingDescribeAttributesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDescribeAttributesResponse) UnmarshalBinary

func (m *NewbillingDescribeAttributesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDescribeAttributesResponse) Validate

Validate validates this newbilling describe attributes response

type NewbillingDescribeBillingJobsResponse

type NewbillingDescribeBillingJobsResponse struct {

	// 返回结果列表
	BillingJobSet []*NewbillingBillingJob `json:"billing_job_set"`

	// 匹配条件的结果总数
	Total int64 `json:"total,omitempty"`
}

NewbillingDescribeBillingJobsResponse 查询计费任务返回信息

swagger:model newbillingDescribeBillingJobsResponse

func (*NewbillingDescribeBillingJobsResponse) ContextValidate

func (m *NewbillingDescribeBillingJobsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling describe billing jobs response based on the context it is used

func (*NewbillingDescribeBillingJobsResponse) MarshalBinary

func (m *NewbillingDescribeBillingJobsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDescribeBillingJobsResponse) UnmarshalBinary

func (m *NewbillingDescribeBillingJobsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDescribeBillingJobsResponse) Validate

Validate validates this newbilling describe billing jobs response

type NewbillingDescribeBillsResponse

type NewbillingDescribeBillsResponse struct {

	// 返回结果列表
	BillSet []*NewbillingBill `json:"bill_set"`

	// 匹配条件的结果总数
	Total int64 `json:"total,omitempty"`

	// 匹配条件的总金额数
	TotalSum float32 `json:"total_sum,omitempty"`
}

NewbillingDescribeBillsResponse 查询计费账单返回信息

swagger:model newbillingDescribeBillsResponse

func (*NewbillingDescribeBillsResponse) ContextValidate

func (m *NewbillingDescribeBillsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling describe bills response based on the context it is used

func (*NewbillingDescribeBillsResponse) MarshalBinary

func (m *NewbillingDescribeBillsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDescribeBillsResponse) UnmarshalBinary

func (m *NewbillingDescribeBillsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDescribeBillsResponse) Validate

Validate validates this newbilling describe bills response

type NewbillingDescribeCatalogsResponse

type NewbillingDescribeCatalogsResponse struct {

	// 返回结果列表
	CatalogSet []*NewbillingCatalog `json:"catalog_set"`

	// 返回总数
	Total int64 `json:"total,omitempty"`
}

NewbillingDescribeCatalogsResponse 查询产品目录返回信息

swagger:model newbillingDescribeCatalogsResponse

func (*NewbillingDescribeCatalogsResponse) ContextValidate

func (m *NewbillingDescribeCatalogsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling describe catalogs response based on the context it is used

func (*NewbillingDescribeCatalogsResponse) MarshalBinary

func (m *NewbillingDescribeCatalogsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDescribeCatalogsResponse) UnmarshalBinary

func (m *NewbillingDescribeCatalogsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDescribeCatalogsResponse) Validate

Validate validates this newbilling describe catalogs response

type NewbillingDescribeCollectDataResponse

type NewbillingDescribeCollectDataResponse struct {

	// 返回结果列表
	CollectDataSet []*NewbillingCollectData `json:"collect_data_set"`

	// 返回总数
	Total int64 `json:"total,omitempty"`
}

NewbillingDescribeCollectDataResponse newbilling describe collect data response

swagger:model newbillingDescribeCollectDataResponse

func (*NewbillingDescribeCollectDataResponse) ContextValidate

func (m *NewbillingDescribeCollectDataResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling describe collect data response based on the context it is used

func (*NewbillingDescribeCollectDataResponse) MarshalBinary

func (m *NewbillingDescribeCollectDataResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDescribeCollectDataResponse) UnmarshalBinary

func (m *NewbillingDescribeCollectDataResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDescribeCollectDataResponse) Validate

Validate validates this newbilling describe collect data response

type NewbillingDescribeCollectEventsResponse

type NewbillingDescribeCollectEventsResponse struct {

	// 返回结果列表
	CollectEventSet []*NewbillingCollectEvent `json:"collect_event_set"`

	// 返回总数
	Total int64 `json:"total,omitempty"`
}

NewbillingDescribeCollectEventsResponse newbilling describe collect events response

swagger:model newbillingDescribeCollectEventsResponse

func (*NewbillingDescribeCollectEventsResponse) ContextValidate

ContextValidate validate this newbilling describe collect events response based on the context it is used

func (*NewbillingDescribeCollectEventsResponse) MarshalBinary

func (m *NewbillingDescribeCollectEventsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDescribeCollectEventsResponse) UnmarshalBinary

func (m *NewbillingDescribeCollectEventsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDescribeCollectEventsResponse) Validate

Validate validates this newbilling describe collect events response

type NewbillingDescribeComponentsOfPricingSimpleResponse

type NewbillingDescribeComponentsOfPricingSimpleResponse struct {

	// 计费项目列表
	Components []*NewbillingComponentsOfPricingSimpleItem `json:"components"`
}

NewbillingDescribeComponentsOfPricingSimpleResponse newbilling describe components of pricing simple response

swagger:model newbillingDescribeComponentsOfPricingSimpleResponse

func (*NewbillingDescribeComponentsOfPricingSimpleResponse) ContextValidate

ContextValidate validate this newbilling describe components of pricing simple response based on the context it is used

func (*NewbillingDescribeComponentsOfPricingSimpleResponse) MarshalBinary

MarshalBinary interface implementation

func (*NewbillingDescribeComponentsOfPricingSimpleResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*NewbillingDescribeComponentsOfPricingSimpleResponse) Validate

Validate validates this newbilling describe components of pricing simple response

type NewbillingDescribeComponentsResponse

type NewbillingDescribeComponentsResponse struct {

	// 返回结果列表
	ComponentSet []*NewbillingComponent `json:"component_set"`

	// 返回总数
	Total int64 `json:"total,omitempty"`
}

NewbillingDescribeComponentsResponse 查询计费项返回信息

swagger:model newbillingDescribeComponentsResponse

func (*NewbillingDescribeComponentsResponse) ContextValidate

func (m *NewbillingDescribeComponentsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling describe components response based on the context it is used

func (*NewbillingDescribeComponentsResponse) MarshalBinary

func (m *NewbillingDescribeComponentsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDescribeComponentsResponse) UnmarshalBinary

func (m *NewbillingDescribeComponentsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDescribeComponentsResponse) Validate

Validate validates this newbilling describe components response

type NewbillingDescribeConsumeOrdersResponse

type NewbillingDescribeConsumeOrdersResponse struct {

	// 返回结果列表
	ConsumeOrderSet []*NewbillingConsumeOrder `json:"consume_order_set"`

	// 匹配条件的结果总数
	Total int64 `json:"total,omitempty"`
}

NewbillingDescribeConsumeOrdersResponse newbilling describe consume orders response

swagger:model newbillingDescribeConsumeOrdersResponse

func (*NewbillingDescribeConsumeOrdersResponse) ContextValidate

ContextValidate validate this newbilling describe consume orders response based on the context it is used

func (*NewbillingDescribeConsumeOrdersResponse) MarshalBinary

func (m *NewbillingDescribeConsumeOrdersResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDescribeConsumeOrdersResponse) UnmarshalBinary

func (m *NewbillingDescribeConsumeOrdersResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDescribeConsumeOrdersResponse) Validate

Validate validates this newbilling describe consume orders response

type NewbillingDescribeCustomerCurrenciesResponse

type NewbillingDescribeCustomerCurrenciesResponse struct {

	// 返回操作列表
	Ccs []*NewbillingCustomerCurrency `json:"ccs"`

	// 返回总数
	TotalCount int64 `json:"total_count,omitempty"`
}

NewbillingDescribeCustomerCurrenciesResponse 查询操作返回信息

swagger:model newbillingDescribeCustomerCurrenciesResponse

func (*NewbillingDescribeCustomerCurrenciesResponse) ContextValidate

ContextValidate validate this newbilling describe customer currencies response based on the context it is used

func (*NewbillingDescribeCustomerCurrenciesResponse) MarshalBinary

MarshalBinary interface implementation

func (*NewbillingDescribeCustomerCurrenciesResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*NewbillingDescribeCustomerCurrenciesResponse) Validate

Validate validates this newbilling describe customer currencies response

type NewbillingDescribeCustomerDiscountsResponse

type NewbillingDescribeCustomerDiscountsResponse struct {

	// 返回结果列表
	CustomerDiscountSet []*NewbillingCustomerDiscountDetail `json:"customer_discount_set"`

	// 返回总数
	Total int64 `json:"total,omitempty"`
}

NewbillingDescribeCustomerDiscountsResponse 查询产品目录返回信息

swagger:model newbillingDescribeCustomerDiscountsResponse

func (*NewbillingDescribeCustomerDiscountsResponse) ContextValidate

ContextValidate validate this newbilling describe customer discounts response based on the context it is used

func (*NewbillingDescribeCustomerDiscountsResponse) MarshalBinary

func (m *NewbillingDescribeCustomerDiscountsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDescribeCustomerDiscountsResponse) UnmarshalBinary

func (m *NewbillingDescribeCustomerDiscountsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDescribeCustomerDiscountsResponse) Validate

Validate validates this newbilling describe customer discounts response

type NewbillingDescribeCustomerResourcesResponse

type NewbillingDescribeCustomerResourcesResponse struct {

	// 返回操作列表
	Crs []*NewbillingCustomerResource `json:"crs"`

	// 返回总数
	TotalCount int64 `json:"total_count,omitempty"`
}

NewbillingDescribeCustomerResourcesResponse 查询操作返回信息

swagger:model newbillingDescribeCustomerResourcesResponse

func (*NewbillingDescribeCustomerResourcesResponse) ContextValidate

ContextValidate validate this newbilling describe customer resources response based on the context it is used

func (*NewbillingDescribeCustomerResourcesResponse) MarshalBinary

func (m *NewbillingDescribeCustomerResourcesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDescribeCustomerResourcesResponse) UnmarshalBinary

func (m *NewbillingDescribeCustomerResourcesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDescribeCustomerResourcesResponse) Validate

Validate validates this newbilling describe customer resources response

type NewbillingDescribeCustomerResourcesTransResponse

type NewbillingDescribeCustomerResourcesTransResponse struct {

	// crt
	Crt []*NewbillingCustomerResourceTransaction `json:"crt"`

	// total count
	TotalCount int64 `json:"total_count,omitempty"`
}

NewbillingDescribeCustomerResourcesTransResponse newbilling describe customer resources trans response

swagger:model newbillingDescribeCustomerResourcesTransResponse

func (*NewbillingDescribeCustomerResourcesTransResponse) ContextValidate

ContextValidate validate this newbilling describe customer resources trans response based on the context it is used

func (*NewbillingDescribeCustomerResourcesTransResponse) MarshalBinary

MarshalBinary interface implementation

func (*NewbillingDescribeCustomerResourcesTransResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*NewbillingDescribeCustomerResourcesTransResponse) Validate

Validate validates this newbilling describe customer resources trans response

type NewbillingDescribeCustomersResponse

type NewbillingDescribeCustomersResponse struct {

	// 返回操作列表
	Customers []*NewbillingCustomer `json:"customers"`

	// 返回总数
	TotalCount int64 `json:"total_count,omitempty"`
}

NewbillingDescribeCustomersResponse 查询操作返回信息

swagger:model newbillingDescribeCustomersResponse

func (*NewbillingDescribeCustomersResponse) ContextValidate

func (m *NewbillingDescribeCustomersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling describe customers response based on the context it is used

func (*NewbillingDescribeCustomersResponse) MarshalBinary

func (m *NewbillingDescribeCustomersResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDescribeCustomersResponse) UnmarshalBinary

func (m *NewbillingDescribeCustomersResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDescribeCustomersResponse) Validate

Validate validates this newbilling describe customers response

type NewbillingDescribeEventsResponse

type NewbillingDescribeEventsResponse struct {

	// 返回结果列表
	EventSet []*NewbillingEvent `json:"event_set"`

	// 返回总数
	Total int64 `json:"total,omitempty"`
}

NewbillingDescribeEventsResponse newbilling describe events response

swagger:model newbillingDescribeEventsResponse

func (*NewbillingDescribeEventsResponse) ContextValidate

func (m *NewbillingDescribeEventsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling describe events response based on the context it is used

func (*NewbillingDescribeEventsResponse) MarshalBinary

func (m *NewbillingDescribeEventsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDescribeEventsResponse) UnmarshalBinary

func (m *NewbillingDescribeEventsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDescribeEventsResponse) Validate

Validate validates this newbilling describe events response

type NewbillingDescribeFiltersResponse

type NewbillingDescribeFiltersResponse struct {

	// 返回结果列表
	FilterSet []*NewbillingFilter `json:"filter_set"`

	// 返回总数
	Total int64 `json:"total,omitempty"`
}

NewbillingDescribeFiltersResponse 查询条件返回信息

swagger:model newbillingDescribeFiltersResponse

func (*NewbillingDescribeFiltersResponse) ContextValidate

func (m *NewbillingDescribeFiltersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling describe filters response based on the context it is used

func (*NewbillingDescribeFiltersResponse) MarshalBinary

func (m *NewbillingDescribeFiltersResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDescribeFiltersResponse) UnmarshalBinary

func (m *NewbillingDescribeFiltersResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDescribeFiltersResponse) Validate

Validate validates this newbilling describe filters response

type NewbillingDescribeOrdersResponse

type NewbillingDescribeOrdersResponse struct {

	// 返回结果列表
	OrderSet []*NewbillingOrder `json:"order_set"`

	// 返回总数
	Total int64 `json:"total,omitempty"`
}

NewbillingDescribeOrdersResponse newbilling describe orders response

swagger:model newbillingDescribeOrdersResponse

func (*NewbillingDescribeOrdersResponse) ContextValidate

func (m *NewbillingDescribeOrdersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling describe orders response based on the context it is used

func (*NewbillingDescribeOrdersResponse) MarshalBinary

func (m *NewbillingDescribeOrdersResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDescribeOrdersResponse) UnmarshalBinary

func (m *NewbillingDescribeOrdersResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDescribeOrdersResponse) Validate

Validate validates this newbilling describe orders response

type NewbillingDescribePlansResponse

type NewbillingDescribePlansResponse struct {

	// 返回结果列表
	PlanSet []*NewbillingPlan `json:"plan_set"`

	// 返回总数
	Total int64 `json:"total,omitempty"`
}

NewbillingDescribePlansResponse 查询方案返回信息

swagger:model newbillingDescribePlansResponse

func (*NewbillingDescribePlansResponse) ContextValidate

func (m *NewbillingDescribePlansResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling describe plans response based on the context it is used

func (*NewbillingDescribePlansResponse) MarshalBinary

func (m *NewbillingDescribePlansResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDescribePlansResponse) UnmarshalBinary

func (m *NewbillingDescribePlansResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDescribePlansResponse) Validate

Validate validates this newbilling describe plans response

type NewbillingDescribeProdInstancesResponse

type NewbillingDescribeProdInstancesResponse struct {

	// 返回结果列表
	ProdInstanceSet []*NewbillingProdInstance `json:"prod_instance_set"`

	// 匹配条件的结果总数
	Total int64 `json:"total,omitempty"`
}

NewbillingDescribeProdInstancesResponse 查询产品实例返回信息

swagger:model newbillingDescribeProdInstancesResponse

func (*NewbillingDescribeProdInstancesResponse) ContextValidate

ContextValidate validate this newbilling describe prod instances response based on the context it is used

func (*NewbillingDescribeProdInstancesResponse) MarshalBinary

func (m *NewbillingDescribeProdInstancesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDescribeProdInstancesResponse) UnmarshalBinary

func (m *NewbillingDescribeProdInstancesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDescribeProdInstancesResponse) Validate

Validate validates this newbilling describe prod instances response

type NewbillingDescribeProductsResponse

type NewbillingDescribeProductsResponse struct {

	// 返回结果列表
	ProductSet []*NewbillingProduct `json:"product_set"`

	// 返回总数
	Total int64 `json:"total,omitempty"`
}

NewbillingDescribeProductsResponse 查询产品返回信息

swagger:model newbillingDescribeProductsResponse

func (*NewbillingDescribeProductsResponse) ContextValidate

func (m *NewbillingDescribeProductsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling describe products response based on the context it is used

func (*NewbillingDescribeProductsResponse) MarshalBinary

func (m *NewbillingDescribeProductsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDescribeProductsResponse) UnmarshalBinary

func (m *NewbillingDescribeProductsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDescribeProductsResponse) Validate

Validate validates this newbilling describe products response

type NewbillingDescribePublicAttributesResponse

type NewbillingDescribePublicAttributesResponse struct {

	// public attr set
	PublicAttrSet []*NewbillingPublicAttribute `json:"public_attr_set"`

	// total
	Total int64 `json:"total,omitempty"`
}

NewbillingDescribePublicAttributesResponse newbilling describe public attributes response

swagger:model newbillingDescribePublicAttributesResponse

func (*NewbillingDescribePublicAttributesResponse) ContextValidate

ContextValidate validate this newbilling describe public attributes response based on the context it is used

func (*NewbillingDescribePublicAttributesResponse) MarshalBinary

func (m *NewbillingDescribePublicAttributesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDescribePublicAttributesResponse) UnmarshalBinary

func (m *NewbillingDescribePublicAttributesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDescribePublicAttributesResponse) Validate

Validate validates this newbilling describe public attributes response

type NewbillingDescribeRolesResponse

type NewbillingDescribeRolesResponse struct {

	// 返回角色列表
	RoleSet []*NewbillingRole `json:"role_set"`

	// 返回总数
	TotalCount int64 `json:"total_count,omitempty"`
}

NewbillingDescribeRolesResponse 查询角色返回信息

swagger:model newbillingDescribeRolesResponse

func (*NewbillingDescribeRolesResponse) ContextValidate

func (m *NewbillingDescribeRolesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling describe roles response based on the context it is used

func (*NewbillingDescribeRolesResponse) MarshalBinary

func (m *NewbillingDescribeRolesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDescribeRolesResponse) UnmarshalBinary

func (m *NewbillingDescribeRolesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDescribeRolesResponse) Validate

Validate validates this newbilling describe roles response

type NewbillingDescribeServicesResponse

type NewbillingDescribeServicesResponse struct {

	// 返回结果列表
	ServiceSet []*NewbillingService `json:"service_set"`

	// 返回总数
	Total int64 `json:"total,omitempty"`
}

NewbillingDescribeServicesResponse 查询对接服务返回

swagger:model newbillingDescribeServicesResponse

func (*NewbillingDescribeServicesResponse) ContextValidate

func (m *NewbillingDescribeServicesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling describe services response based on the context it is used

func (*NewbillingDescribeServicesResponse) MarshalBinary

func (m *NewbillingDescribeServicesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDescribeServicesResponse) UnmarshalBinary

func (m *NewbillingDescribeServicesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDescribeServicesResponse) Validate

Validate validates this newbilling describe services response

type NewbillingDescribeStrategiesResponse

type NewbillingDescribeStrategiesResponse struct {

	// 返回结果列表
	StrategySet []*NewbillingStrategy `json:"strategy_set"`

	// 返回总数
	Total int64 `json:"total,omitempty"`
}

NewbillingDescribeStrategiesResponse 查询策略返回信息

swagger:model newbillingDescribeStrategiesResponse

func (*NewbillingDescribeStrategiesResponse) ContextValidate

func (m *NewbillingDescribeStrategiesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling describe strategies response based on the context it is used

func (*NewbillingDescribeStrategiesResponse) MarshalBinary

func (m *NewbillingDescribeStrategiesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDescribeStrategiesResponse) UnmarshalBinary

func (m *NewbillingDescribeStrategiesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDescribeStrategiesResponse) Validate

Validate validates this newbilling describe strategies response

type NewbillingDescribeSubsCompResponse

type NewbillingDescribeSubsCompResponse struct {

	// subs comps
	SubsComps []*NewbillingSubsCompDetail `json:"subs_comps"`
}

NewbillingDescribeSubsCompResponse newbilling describe subs comp response

swagger:model newbillingDescribeSubsCompResponse

func (*NewbillingDescribeSubsCompResponse) ContextValidate

func (m *NewbillingDescribeSubsCompResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling describe subs comp response based on the context it is used

func (*NewbillingDescribeSubsCompResponse) MarshalBinary

func (m *NewbillingDescribeSubsCompResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDescribeSubsCompResponse) UnmarshalBinary

func (m *NewbillingDescribeSubsCompResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDescribeSubsCompResponse) Validate

Validate validates this newbilling describe subs comp response

type NewbillingDescribeTokenResponse

type NewbillingDescribeTokenResponse struct {

	// 接入平台ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 用户token
	Token string `json:"token,omitempty"`

	// 用户ID
	UserID string `json:"user_id,omitempty"`
}

NewbillingDescribeTokenResponse 查询TOKEN返回信息

swagger:model newbillingDescribeTokenResponse

func (*NewbillingDescribeTokenResponse) ContextValidate

func (m *NewbillingDescribeTokenResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling describe token response based on context it is used

func (*NewbillingDescribeTokenResponse) MarshalBinary

func (m *NewbillingDescribeTokenResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDescribeTokenResponse) UnmarshalBinary

func (m *NewbillingDescribeTokenResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDescribeTokenResponse) Validate

Validate validates this newbilling describe token response

type NewbillingDescribeUserAccessSystemsResponse

type NewbillingDescribeUserAccessSystemsResponse struct {

	// 返回信息列表
	AccessSystem []*NewbillingIamAccessSystem `json:"access_system"`
}

NewbillingDescribeUserAccessSystemsResponse 查询接入系统返回信息

swagger:model newbillingDescribeUserAccessSystemsResponse

func (*NewbillingDescribeUserAccessSystemsResponse) ContextValidate

ContextValidate validate this newbilling describe user access systems response based on the context it is used

func (*NewbillingDescribeUserAccessSystemsResponse) MarshalBinary

func (m *NewbillingDescribeUserAccessSystemsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDescribeUserAccessSystemsResponse) UnmarshalBinary

func (m *NewbillingDescribeUserAccessSystemsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDescribeUserAccessSystemsResponse) Validate

Validate validates this newbilling describe user access systems response

type NewbillingDescribeUsersResponse

type NewbillingDescribeUsersResponse struct {

	// 返回总数
	TotalCount int64 `json:"total_count,omitempty"`

	// 返回用户列表
	UserSet []*NewbillingUser `json:"user_set"`
}

NewbillingDescribeUsersResponse 查询用户返回信息

swagger:model newbillingDescribeUsersResponse

func (*NewbillingDescribeUsersResponse) ContextValidate

func (m *NewbillingDescribeUsersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling describe users response based on the context it is used

func (*NewbillingDescribeUsersResponse) MarshalBinary

func (m *NewbillingDescribeUsersResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDescribeUsersResponse) UnmarshalBinary

func (m *NewbillingDescribeUsersResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDescribeUsersResponse) Validate

Validate validates this newbilling describe users response

type NewbillingDiscountFilerMap

type NewbillingDiscountFilerMap struct {

	// filters map
	FiltersMap map[string]string `json:"filters_map,omitempty"`
}

NewbillingDiscountFilerMap 产品字段信息

swagger:model newbillingDiscountFilerMap

func (*NewbillingDiscountFilerMap) ContextValidate

func (m *NewbillingDiscountFilerMap) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling discount filer map based on context it is used

func (*NewbillingDiscountFilerMap) MarshalBinary

func (m *NewbillingDiscountFilerMap) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDiscountFilerMap) UnmarshalBinary

func (m *NewbillingDiscountFilerMap) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDiscountFilerMap) Validate

func (m *NewbillingDiscountFilerMap) Validate(formats strfmt.Registry) error

Validate validates this newbilling discount filer map

type NewbillingDisparityPriceDetail

type NewbillingDisparityPriceDetail struct {

	// amount payable
	AmountPayable float32 `json:"amount_payable,omitempty"`

	// comp code
	CompCode string `json:"comp_code,omitempty"`

	// comp id
	CompID string `json:"comp_id,omitempty"`

	// comp name
	CompName string `json:"comp_name,omitempty"`

	// cost
	Cost float32 `json:"cost,omitempty"`
}

NewbillingDisparityPriceDetail newbilling disparity price detail

swagger:model newbillingDisparityPriceDetail

func (*NewbillingDisparityPriceDetail) ContextValidate

func (m *NewbillingDisparityPriceDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling disparity price detail based on context it is used

func (*NewbillingDisparityPriceDetail) MarshalBinary

func (m *NewbillingDisparityPriceDetail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingDisparityPriceDetail) UnmarshalBinary

func (m *NewbillingDisparityPriceDetail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingDisparityPriceDetail) Validate

func (m *NewbillingDisparityPriceDetail) Validate(formats strfmt.Registry) error

Validate validates this newbilling disparity price detail

type NewbillingEvent

type NewbillingEvent struct {

	// access sys id
	AccessSysID string `json:"access_sys_id,omitempty"`

	// create time
	// Format: date-time
	CreateTime *strfmt.DateTime `json:"create_time,omitempty"`

	// customer id
	CustomerID string `json:"customer_id,omitempty"`

	// event
	Event string `json:"event,omitempty"`

	// event id
	EventID string `json:"event_id,omitempty"`

	// event time
	// Format: date-time
	EventTime *strfmt.DateTime `json:"event_time,omitempty"`

	// prod id
	ProdID string `json:"prod_id,omitempty"`

	// prod inst id ext
	ProdInstIDExt string `json:"prod_inst_id_ext,omitempty"`

	// retry times
	RetryTimes int32 `json:"retry_times,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// status time
	// Format: date-time
	StatusTime *strfmt.DateTime `json:"status_time,omitempty"`

	// update time
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"update_time,omitempty"`
}

NewbillingEvent newbilling event

swagger:model newbillingEvent

func (*NewbillingEvent) ContextValidate

func (m *NewbillingEvent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling event based on context it is used

func (*NewbillingEvent) MarshalBinary

func (m *NewbillingEvent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingEvent) UnmarshalBinary

func (m *NewbillingEvent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingEvent) Validate

func (m *NewbillingEvent) Validate(formats strfmt.Registry) error

Validate validates this newbilling event

type NewbillingExportConsumeOrdersResponse

type NewbillingExportConsumeOrdersResponse struct {

	// file name
	FileName string `json:"file_name,omitempty"`
}

NewbillingExportConsumeOrdersResponse newbilling export consume orders response

swagger:model newbillingExportConsumeOrdersResponse

func (*NewbillingExportConsumeOrdersResponse) ContextValidate

func (m *NewbillingExportConsumeOrdersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling export consume orders response based on context it is used

func (*NewbillingExportConsumeOrdersResponse) MarshalBinary

func (m *NewbillingExportConsumeOrdersResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingExportConsumeOrdersResponse) UnmarshalBinary

func (m *NewbillingExportConsumeOrdersResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingExportConsumeOrdersResponse) Validate

Validate validates this newbilling export consume orders response

type NewbillingFilter

type NewbillingFilter struct {

	// 创建时间
	// Format: date-time
	CreateTime *strfmt.DateTime `json:"create_time,omitempty"`

	// 条件描述
	Description string `json:"description,omitempty"`

	// 条件编码
	FilterCode string `json:"filter_code,omitempty"`

	// 条件ID
	FilterID string `json:"filter_id,omitempty"`

	// 条件左值
	LeftValue string `json:"left_value,omitempty"`

	// 条件名称
	Name string `json:"name,omitempty"`

	// 条件操作符
	Operator string `json:"operator,omitempty"`

	// 产品ID
	ProdID string `json:"prod_id,omitempty"`

	// 条件备注
	Remark string `json:"remark,omitempty"`

	// 条件右值
	RightValue string `json:"right_value,omitempty"`

	// 更新时间
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"update_time,omitempty"`
}

NewbillingFilter 条件

swagger:model newbillingFilter

func (*NewbillingFilter) ContextValidate

func (m *NewbillingFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling filter based on context it is used

func (*NewbillingFilter) MarshalBinary

func (m *NewbillingFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingFilter) UnmarshalBinary

func (m *NewbillingFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingFilter) Validate

func (m *NewbillingFilter) Validate(formats strfmt.Registry) error

Validate validates this newbilling filter

type NewbillingFilterInfo

type NewbillingFilterInfo struct {

	// filter
	Filter *NewbillingCreateFilterRequest `json:"filter,omitempty"`

	// filter link code
	FilterLinkCode string `json:"filter_link_code,omitempty"`
}

NewbillingFilterInfo newbilling filter info

swagger:model newbillingFilterInfo

func (*NewbillingFilterInfo) ContextValidate

func (m *NewbillingFilterInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling filter info based on the context it is used

func (*NewbillingFilterInfo) MarshalBinary

func (m *NewbillingFilterInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingFilterInfo) UnmarshalBinary

func (m *NewbillingFilterInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingFilterInfo) Validate

func (m *NewbillingFilterInfo) Validate(formats strfmt.Registry) error

Validate validates this newbilling filter info

type NewbillingGetBillResponse

type NewbillingGetBillResponse struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 账期
	AccountPeriod string `json:"account_period,omitempty"`

	// 应付金额
	AmountPayable float32 `json:"amount_payable,omitempty"`

	// 计费账单ID
	BillID string `json:"bill_id,omitempty"`

	// 计费模式
	BillingMode string `json:"billing_mode,omitempty"`

	// 计费任务ID
	BllJobID string `json:"bll_job_id,omitempty"`

	// 计费项名称
	CompCode string `json:"comp_code,omitempty"`

	// 计费项ID
	CompID string `json:"comp_id,omitempty"`

	// 计费项名称
	CompName string `json:"comp_name,omitempty"`

	// 原价
	Cost float32 `json:"cost,omitempty"`

	// 计费账单创建时间
	// Format: date-time
	CreateTime *strfmt.DateTime `json:"create_time,omitempty"`

	// 描述信息
	Description string `json:"description,omitempty"`

	// 折扣率
	Discount float32 `json:"discount,omitempty"`

	// 计费结束时间
	// Format: date-time
	EndTime *strfmt.DateTime `json:"end_time,omitempty"`

	// 订单ID
	OrderID string `json:"order_id,omitempty"`

	// 订单用户ID
	OrderUserID string `json:"order_user_id,omitempty"`

	// 订单用户名称
	OrderUserName string `json:"order_user_name,omitempty"`

	// 产品编码
	ProdCode string `json:"prod_code,omitempty"`

	// 产品ID
	ProdID string `json:"prod_id,omitempty"`

	// 产品实例ID
	ProdInstID string `json:"prod_inst_id,omitempty"`

	// 外部产品实例ID
	ProdInstIDExt string `json:"prod_inst_id_ext,omitempty"`

	// 产品实例数量
	ProdInstNum int32 `json:"prod_inst_num,omitempty"`

	// 产品名称
	ProdName string `json:"prod_name,omitempty"`

	// 计费开始时间
	// Format: date-time
	StartTime *strfmt.DateTime `json:"start_time,omitempty"`

	// 状态
	Status string `json:"status,omitempty"`

	// 计费账单更新时间
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"update_time,omitempty"`

	// 资源使用量
	Usages string `json:"usages,omitempty"`
}

NewbillingGetBillResponse 获取单条计费账单返回信息

swagger:model newbillingGetBillResponse

func (*NewbillingGetBillResponse) ContextValidate

func (m *NewbillingGetBillResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling get bill response based on context it is used

func (*NewbillingGetBillResponse) MarshalBinary

func (m *NewbillingGetBillResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingGetBillResponse) UnmarshalBinary

func (m *NewbillingGetBillResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingGetBillResponse) Validate

func (m *NewbillingGetBillResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling get bill response

type NewbillingGetChargeQrcodeResponse

type NewbillingGetChargeQrcodeResponse struct {

	// 支付记录ID
	ChargeID string `json:"charge_id,omitempty"`

	// 支付宝支付的url
	ChargeURL string `json:"charge_url,omitempty"`
}

NewbillingGetChargeQrcodeResponse 创建支付记录返回信息

swagger:model newbillingGetChargeQrcodeResponse

func (*NewbillingGetChargeQrcodeResponse) ContextValidate

func (m *NewbillingGetChargeQrcodeResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling get charge qrcode response based on context it is used

func (*NewbillingGetChargeQrcodeResponse) MarshalBinary

func (m *NewbillingGetChargeQrcodeResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingGetChargeQrcodeResponse) UnmarshalBinary

func (m *NewbillingGetChargeQrcodeResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingGetChargeQrcodeResponse) Validate

Validate validates this newbilling get charge qrcode response

type NewbillingGetComponentsByIDsResponse

type NewbillingGetComponentsByIDsResponse struct {

	// 计费项列表
	ComponentSet []*NewbillingComponent `json:"component_set"`
}

NewbillingGetComponentsByIDsResponse newbilling get components by i ds response

swagger:model newbillingGetComponentsByIDsResponse

func (*NewbillingGetComponentsByIDsResponse) ContextValidate

func (m *NewbillingGetComponentsByIDsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling get components by i ds response based on the context it is used

func (*NewbillingGetComponentsByIDsResponse) MarshalBinary

func (m *NewbillingGetComponentsByIDsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingGetComponentsByIDsResponse) UnmarshalBinary

func (m *NewbillingGetComponentsByIDsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingGetComponentsByIDsResponse) Validate

Validate validates this newbilling get components by i ds response

type NewbillingGetConsumeOrderResponse

type NewbillingGetConsumeOrderResponse struct {

	// access sys id
	AccessSysID string `json:"access_sys_id,omitempty"`

	// amount payable
	AmountPayable float32 `json:"amount_payable,omitempty"`

	// charge status
	ChargeStatus string `json:"charge_status,omitempty"`

	// charge time
	// Format: date-time
	ChargeTime *strfmt.DateTime `json:"charge_time,omitempty"`

	// components
	Components []*NewbillingSubscriptionComponent `json:"components"`

	// consume type
	ConsumeType string `json:"consume_type,omitempty"`

	// cost
	Cost float32 `json:"cost,omitempty"`

	// create time
	// Format: date-time
	CreateTime *strfmt.DateTime `json:"create_time,omitempty"`

	// is deleted
	IsDeleted int32 `json:"is_deleted,omitempty"`

	// order user id
	OrderUserID string `json:"order_user_id,omitempty"`

	// order user name
	OrderUserName string `json:"order_user_name,omitempty"`

	// prod id
	ProdID string `json:"prod_id,omitempty"`

	// prod inst consume order id
	ProdInstConsumeOrderID string `json:"prod_inst_consume_order_id,omitempty"`

	// prod inst id
	ProdInstID string `json:"prod_inst_id,omitempty"`

	// prod name
	ProdName string `json:"prod_name,omitempty"`

	// update time
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"update_time,omitempty"`
}

NewbillingGetConsumeOrderResponse 消费订单

swagger:model newbillingGetConsumeOrderResponse

func (*NewbillingGetConsumeOrderResponse) ContextValidate

func (m *NewbillingGetConsumeOrderResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling get consume order response based on the context it is used

func (*NewbillingGetConsumeOrderResponse) MarshalBinary

func (m *NewbillingGetConsumeOrderResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingGetConsumeOrderResponse) UnmarshalBinary

func (m *NewbillingGetConsumeOrderResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingGetConsumeOrderResponse) Validate

Validate validates this newbilling get consume order response

type NewbillingGetCustomerDiscountResponse

type NewbillingGetCustomerDiscountResponse struct {

	// 客户折扣详情
	CustomerDiscountDetail *NewbillingCustomerDiscountDetail `json:"customer_discount_detail,omitempty"`
}

NewbillingGetCustomerDiscountResponse newbilling get customer discount response

swagger:model newbillingGetCustomerDiscountResponse

func (*NewbillingGetCustomerDiscountResponse) ContextValidate

func (m *NewbillingGetCustomerDiscountResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling get customer discount response based on the context it is used

func (*NewbillingGetCustomerDiscountResponse) MarshalBinary

func (m *NewbillingGetCustomerDiscountResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingGetCustomerDiscountResponse) UnmarshalBinary

func (m *NewbillingGetCustomerDiscountResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingGetCustomerDiscountResponse) Validate

Validate validates this newbilling get customer discount response

type NewbillingGetCustomerResponse

type NewbillingGetCustomerResponse struct {

	// customer
	Customer *NewbillingCustomer `json:"customer,omitempty"`

	// ok
	Ok bool `json:"ok,omitempty"`
}

NewbillingGetCustomerResponse newbilling get customer response

swagger:model newbillingGetCustomerResponse

func (*NewbillingGetCustomerResponse) ContextValidate

func (m *NewbillingGetCustomerResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling get customer response based on the context it is used

func (*NewbillingGetCustomerResponse) MarshalBinary

func (m *NewbillingGetCustomerResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingGetCustomerResponse) UnmarshalBinary

func (m *NewbillingGetCustomerResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingGetCustomerResponse) Validate

func (m *NewbillingGetCustomerResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling get customer response

type NewbillingGetEmailServiceConfigResponse

type NewbillingGetEmailServiceConfigResponse struct {

	// 邮件发送者昵称
	DisplayName string `json:"display_name,omitempty"`

	// 邮件服务器
	Host string `json:"host,omitempty"`

	// 密码
	Password string `json:"password,omitempty"`

	// 邮件服务器端口
	Port string `json:"port,omitempty"`

	// 用户名
	User string `json:"user,omitempty"`
}

NewbillingGetEmailServiceConfigResponse newbilling get email service config response

swagger:model newbillingGetEmailServiceConfigResponse

func (*NewbillingGetEmailServiceConfigResponse) ContextValidate

ContextValidate validates this newbilling get email service config response based on context it is used

func (*NewbillingGetEmailServiceConfigResponse) MarshalBinary

func (m *NewbillingGetEmailServiceConfigResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingGetEmailServiceConfigResponse) UnmarshalBinary

func (m *NewbillingGetEmailServiceConfigResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingGetEmailServiceConfigResponse) Validate

Validate validates this newbilling get email service config response

type NewbillingGetExportFileResponse

type NewbillingGetExportFileResponse struct {

	// data
	// Format: byte
	Data strfmt.Base64 `json:"data,omitempty"`
}

NewbillingGetExportFileResponse newbilling get export file response

swagger:model newbillingGetExportFileResponse

func (*NewbillingGetExportFileResponse) ContextValidate

func (m *NewbillingGetExportFileResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling get export file response based on context it is used

func (*NewbillingGetExportFileResponse) MarshalBinary

func (m *NewbillingGetExportFileResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingGetExportFileResponse) UnmarshalBinary

func (m *NewbillingGetExportFileResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingGetExportFileResponse) Validate

Validate validates this newbilling get export file response

type NewbillingGetOrderResponse

type NewbillingGetOrderResponse struct {

	// access sys id
	AccessSysID string `json:"access_sys_id,omitempty"`

	// amount
	Amount float32 `json:"amount,omitempty"`

	// channel
	Channel string `json:"channel,omitempty"`

	// currency
	Currency string `json:"currency,omitempty"`

	// order id
	OrderID string `json:"order_id,omitempty"`

	// out trade no
	OutTradeNo string `json:"out_trade_no,omitempty"`

	// passback
	Passback string `json:"passback,omitempty"`

	// remark
	Remark string `json:"remark,omitempty"`

	// return url
	ReturnURL string `json:"return_url,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// subject
	Subject string `json:"subject,omitempty"`

	// trade no
	TradeNo string `json:"trade_no,omitempty"`
}

NewbillingGetOrderResponse newbilling get order response

swagger:model newbillingGetOrderResponse

func (*NewbillingGetOrderResponse) ContextValidate

func (m *NewbillingGetOrderResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling get order response based on context it is used

func (*NewbillingGetOrderResponse) MarshalBinary

func (m *NewbillingGetOrderResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingGetOrderResponse) UnmarshalBinary

func (m *NewbillingGetOrderResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingGetOrderResponse) Validate

func (m *NewbillingGetOrderResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling get order response

type NewbillingGetPrdOrderResponse

type NewbillingGetPrdOrderResponse struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// amount payable
	AmountPayable float32 `json:"amount_payable,omitempty"`

	// bills
	Bills []*NewbillingBill `json:"bills"`

	// 支付时间
	// Format: date-time
	ChargeTime *strfmt.DateTime `json:"charge_time,omitempty"`

	// cost
	Cost float32 `json:"cost,omitempty"`

	// 主订单创建时间
	// Format: date-time
	CreateTime *strfmt.DateTime `json:"create_time,omitempty"`

	// 自定义信息
	ExtraInfo string `json:"extra_info,omitempty"`

	// order amount
	OrderAmount float32 `json:"order_amount,omitempty"`

	// order cost
	OrderCost float32 `json:"order_cost,omitempty"`

	// 主订单ID
	OrderID string `json:"order_id,omitempty"`

	// 主订单状态- 待支付、已支付、作废
	OrderStatus string `json:"order_status,omitempty"`

	// order type
	OrderType string `json:"order_type,omitempty"`

	// 主订单用户ID
	OrderUserID string `json:"order_user_id,omitempty"`

	// 主订单用户名称
	OrderUserName string `json:"order_user_name,omitempty"`

	// subs components
	SubsComponents []*NewbillingSubscriptionComponentMini `json:"subs_components"`

	// 主订单更新时间
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"update_time,omitempty"`
}

NewbillingGetPrdOrderResponse newbilling get prd order response

swagger:model newbillingGetPrdOrderResponse

func (*NewbillingGetPrdOrderResponse) ContextValidate

func (m *NewbillingGetPrdOrderResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling get prd order response based on the context it is used

func (*NewbillingGetPrdOrderResponse) MarshalBinary

func (m *NewbillingGetPrdOrderResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingGetPrdOrderResponse) UnmarshalBinary

func (m *NewbillingGetPrdOrderResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingGetPrdOrderResponse) Validate

func (m *NewbillingGetPrdOrderResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling get prd order response

type NewbillingGetPricingIdsResponse

type NewbillingGetPricingIdsResponse struct {

	// prods
	Prods []*NewbillingProdIDAndCode `json:"prods"`
}

NewbillingGetPricingIdsResponse newbilling get pricing ids response

swagger:model newbillingGetPricingIdsResponse

func (*NewbillingGetPricingIdsResponse) ContextValidate

func (m *NewbillingGetPricingIdsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling get pricing ids response based on the context it is used

func (*NewbillingGetPricingIdsResponse) MarshalBinary

func (m *NewbillingGetPricingIdsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingGetPricingIdsResponse) UnmarshalBinary

func (m *NewbillingGetPricingIdsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingGetPricingIdsResponse) Validate

Validate validates this newbilling get pricing ids response

type NewbillingGetPricingResponse

type NewbillingGetPricingResponse struct {

	// attrs
	Attrs []*NewbillingAttrInfo `json:"attrs"`

	// catalog
	Catalog *NewbillingCreateCatalogRequest `json:"catalog,omitempty"`

	// components
	Components []*NewbillingCompInfo `json:"components"`

	// plan
	Plan *NewbillingCreatePlanRequest `json:"plan,omitempty"`

	// product
	Product *NewbillingCreateProductRequest `json:"product,omitempty"`

	// pub attr filters
	PubAttrFilters []*NewbillingFilterInfo `json:"pub_attr_filters"`
}

NewbillingGetPricingResponse newbilling get pricing response

swagger:model newbillingGetPricingResponse

func (*NewbillingGetPricingResponse) ContextValidate

func (m *NewbillingGetPricingResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling get pricing response based on the context it is used

func (*NewbillingGetPricingResponse) MarshalBinary

func (m *NewbillingGetPricingResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingGetPricingResponse) UnmarshalBinary

func (m *NewbillingGetPricingResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingGetPricingResponse) Validate

func (m *NewbillingGetPricingResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling get pricing response

type NewbillingGetProdInstanceResponse

type NewbillingGetProdInstanceResponse struct {

	// is auto renew
	IsAutoRenew int64 `json:"is_auto_renew,omitempty"`

	// order id
	OrderID string `json:"order_id,omitempty"`

	// plan id
	PlanID string `json:"plan_id,omitempty"`

	// prod inst id
	ProdInstID string `json:"prod_inst_id,omitempty"`

	// 产品实例ID
	ProdInstIDExt string `json:"prod_inst_id_ext,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// subs components
	SubsComponents []*NewbillingSubscriptionComponentMini `json:"subs_components"`
}

NewbillingGetProdInstanceResponse 停止产品实例返回信息

swagger:model newbillingGetProdInstanceResponse

func (*NewbillingGetProdInstanceResponse) ContextValidate

func (m *NewbillingGetProdInstanceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling get prod instance response based on the context it is used

func (*NewbillingGetProdInstanceResponse) MarshalBinary

func (m *NewbillingGetProdInstanceResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingGetProdInstanceResponse) UnmarshalBinary

func (m *NewbillingGetProdInstanceResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingGetProdInstanceResponse) Validate

Validate validates this newbilling get prod instance response

type NewbillingGetProductResponse

type NewbillingGetProductResponse struct {

	// plan pricing set
	PlanPricingSet []*NewbillingPlanPricing `json:"plan_pricing_set"`

	// prod id
	ProdID string `json:"prod_id,omitempty"`

	// product
	Product *NewbillingProduct `json:"product,omitempty"`

	// product final price
	ProductFinalPrice float32 `json:"product_final_price,omitempty"`

	// product price
	ProductPrice float32 `json:"product_price,omitempty"`
}

NewbillingGetProductResponse newbilling get product response

swagger:model newbillingGetProductResponse

func (*NewbillingGetProductResponse) ContextValidate

func (m *NewbillingGetProductResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling get product response based on the context it is used

func (*NewbillingGetProductResponse) MarshalBinary

func (m *NewbillingGetProductResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingGetProductResponse) UnmarshalBinary

func (m *NewbillingGetProductResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingGetProductResponse) Validate

func (m *NewbillingGetProductResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling get product response

type NewbillingGetQrcodeResponse

type NewbillingGetQrcodeResponse struct {

	// 支付记录ID
	ChargeID string `json:"charge_id,omitempty"`

	// 支付宝支付的url
	ChargeURL string `json:"charge_url,omitempty"`
}

NewbillingGetQrcodeResponse 支付二维码返回信息

swagger:model newbillingGetQrcodeResponse

func (*NewbillingGetQrcodeResponse) ContextValidate

func (m *NewbillingGetQrcodeResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling get qrcode response based on context it is used

func (*NewbillingGetQrcodeResponse) MarshalBinary

func (m *NewbillingGetQrcodeResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingGetQrcodeResponse) UnmarshalBinary

func (m *NewbillingGetQrcodeResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingGetQrcodeResponse) Validate

func (m *NewbillingGetQrcodeResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling get qrcode response

type NewbillingGetRoleTypeResponse

type NewbillingGetRoleTypeResponse struct {

	// role type info
	RoleTypeInfo []*NewbillingRoleTypeInfo `json:"role_type_info"`
}

NewbillingGetRoleTypeResponse newbilling get role type response

swagger:model newbillingGetRoleTypeResponse

func (*NewbillingGetRoleTypeResponse) ContextValidate

func (m *NewbillingGetRoleTypeResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling get role type response based on the context it is used

func (*NewbillingGetRoleTypeResponse) MarshalBinary

func (m *NewbillingGetRoleTypeResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingGetRoleTypeResponse) UnmarshalBinary

func (m *NewbillingGetRoleTypeResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingGetRoleTypeResponse) Validate

func (m *NewbillingGetRoleTypeResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling get role type response

type NewbillingIamAccessSystem

type NewbillingIamAccessSystem struct {

	// 接入系统别名
	AccessSysCode string `json:"access_sys_code,omitempty"`

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 接入系统名称
	Name string `json:"name,omitempty"`
}

NewbillingIamAccessSystem 接入系统

swagger:model newbillingIamAccessSystem

func (*NewbillingIamAccessSystem) ContextValidate

func (m *NewbillingIamAccessSystem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling iam access system based on context it is used

func (*NewbillingIamAccessSystem) MarshalBinary

func (m *NewbillingIamAccessSystem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingIamAccessSystem) UnmarshalBinary

func (m *NewbillingIamAccessSystem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingIamAccessSystem) Validate

func (m *NewbillingIamAccessSystem) Validate(formats strfmt.Registry) error

Validate validates this newbilling iam access system

type NewbillingInviteUserRequest

type NewbillingInviteUserRequest struct {

	// 邀请用户邮件-帐号
	Email string `json:"email,omitempty"`

	// 邀请用户分配的角色列表
	RoleID []string `json:"role_id"`
}

NewbillingInviteUserRequest 邀请用户请求信息

swagger:model newbillingInviteUserRequest

func (*NewbillingInviteUserRequest) ContextValidate

func (m *NewbillingInviteUserRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling invite user request based on context it is used

func (*NewbillingInviteUserRequest) MarshalBinary

func (m *NewbillingInviteUserRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingInviteUserRequest) UnmarshalBinary

func (m *NewbillingInviteUserRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingInviteUserRequest) Validate

func (m *NewbillingInviteUserRequest) Validate(formats strfmt.Registry) error

Validate validates this newbilling invite user request

type NewbillingInviteUserResponse

type NewbillingInviteUserResponse struct {

	// 邀请用户CODE
	Code string `json:"code,omitempty"`

	// 是否发出邀请
	Ok bool `json:"ok,omitempty"`
}

NewbillingInviteUserResponse 邀请用户响应信息

swagger:model newbillingInviteUserResponse

func (*NewbillingInviteUserResponse) ContextValidate

func (m *NewbillingInviteUserResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling invite user response based on context it is used

func (*NewbillingInviteUserResponse) MarshalBinary

func (m *NewbillingInviteUserResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingInviteUserResponse) UnmarshalBinary

func (m *NewbillingInviteUserResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingInviteUserResponse) Validate

func (m *NewbillingInviteUserResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling invite user response

type NewbillingListChargesResponse

type NewbillingListChargesResponse struct {

	// 支付记录列表
	Charges []*NewbillingCharge `json:"charges"`

	// 返回总数
	TotalCount int64 `json:"total_count,omitempty"`
}

NewbillingListChargesResponse 列举支付记录返回信息

swagger:model newbillingListChargesResponse

func (*NewbillingListChargesResponse) ContextValidate

func (m *NewbillingListChargesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling list charges response based on the context it is used

func (*NewbillingListChargesResponse) MarshalBinary

func (m *NewbillingListChargesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingListChargesResponse) UnmarshalBinary

func (m *NewbillingListChargesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingListChargesResponse) Validate

func (m *NewbillingListChargesResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling list charges response

type NewbillingListMappingComponentsResponse

type NewbillingListMappingComponentsResponse struct {

	// 关联计费项目的详细信息
	Components []*NewbillingMappingComponentItem `json:"components"`
}

NewbillingListMappingComponentsResponse newbilling list mapping components response

swagger:model newbillingListMappingComponentsResponse

func (*NewbillingListMappingComponentsResponse) ContextValidate

ContextValidate validate this newbilling list mapping components response based on the context it is used

func (*NewbillingListMappingComponentsResponse) MarshalBinary

func (m *NewbillingListMappingComponentsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingListMappingComponentsResponse) UnmarshalBinary

func (m *NewbillingListMappingComponentsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingListMappingComponentsResponse) Validate

Validate validates this newbilling list mapping components response

type NewbillingListMeterAttributesUnderProductResponse

type NewbillingListMeterAttributesUnderProductResponse struct {

	// attribute set
	AttributeSet []*NewbillingAttribute `json:"attribute_set"`
}

NewbillingListMeterAttributesUnderProductResponse newbilling list meter attributes under product response

swagger:model newbillingListMeterAttributesUnderProductResponse

func (*NewbillingListMeterAttributesUnderProductResponse) ContextValidate

ContextValidate validate this newbilling list meter attributes under product response based on the context it is used

func (*NewbillingListMeterAttributesUnderProductResponse) MarshalBinary

MarshalBinary interface implementation

func (*NewbillingListMeterAttributesUnderProductResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*NewbillingListMeterAttributesUnderProductResponse) Validate

Validate validates this newbilling list meter attributes under product response

type NewbillingListProdInstanceResponse

type NewbillingListProdInstanceResponse struct {

	// total
	Total int64 `json:"total,omitempty"`
}

NewbillingListProdInstanceResponse newbilling list prod instance response

swagger:model newbillingListProdInstanceResponse

func (*NewbillingListProdInstanceResponse) ContextValidate

func (m *NewbillingListProdInstanceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling list prod instance response based on context it is used

func (*NewbillingListProdInstanceResponse) MarshalBinary

func (m *NewbillingListProdInstanceResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingListProdInstanceResponse) UnmarshalBinary

func (m *NewbillingListProdInstanceResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingListProdInstanceResponse) Validate

Validate validates this newbilling list prod instance response

type NewbillingListProductIdsUnderAccessSysResponse

type NewbillingListProductIdsUnderAccessSysResponse struct {

	// prod ids
	ProdIds []string `json:"prod_ids"`

	// prods
	Prods []*NewbillingListProductIdsUnderAccessSysResponseProduct `json:"prods"`
}

NewbillingListProductIdsUnderAccessSysResponse newbilling list product ids under access sys response

swagger:model newbillingListProductIdsUnderAccessSysResponse

func (*NewbillingListProductIdsUnderAccessSysResponse) ContextValidate

ContextValidate validate this newbilling list product ids under access sys response based on the context it is used

func (*NewbillingListProductIdsUnderAccessSysResponse) MarshalBinary

MarshalBinary interface implementation

func (*NewbillingListProductIdsUnderAccessSysResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*NewbillingListProductIdsUnderAccessSysResponse) Validate

Validate validates this newbilling list product ids under access sys response

type NewbillingListProductIdsUnderAccessSysResponseProduct

type NewbillingListProductIdsUnderAccessSysResponseProduct struct {

	// prod code
	ProdCode string `json:"prod_code,omitempty"`

	// prod id
	ProdID string `json:"prod_id,omitempty"`
}

NewbillingListProductIdsUnderAccessSysResponseProduct newbilling list product ids under access sys response product

swagger:model newbillingListProductIdsUnderAccessSysResponseProduct

func (*NewbillingListProductIdsUnderAccessSysResponseProduct) ContextValidate

ContextValidate validates this newbilling list product ids under access sys response product based on context it is used

func (*NewbillingListProductIdsUnderAccessSysResponseProduct) MarshalBinary

MarshalBinary interface implementation

func (*NewbillingListProductIdsUnderAccessSysResponseProduct) UnmarshalBinary

UnmarshalBinary interface implementation

func (*NewbillingListProductIdsUnderAccessSysResponseProduct) Validate

Validate validates this newbilling list product ids under access sys response product

type NewbillingLoginRequest

type NewbillingLoginRequest struct {

	// 接入平台ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 用户邮件-帐号
	Email string `json:"email,omitempty"`

	// 用户密码
	Passwd string `json:"passwd,omitempty"`
}

NewbillingLoginRequest 登录请求信息

swagger:model newbillingLoginRequest

func (*NewbillingLoginRequest) ContextValidate

func (m *NewbillingLoginRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling login request based on context it is used

func (*NewbillingLoginRequest) MarshalBinary

func (m *NewbillingLoginRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingLoginRequest) UnmarshalBinary

func (m *NewbillingLoginRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingLoginRequest) Validate

func (m *NewbillingLoginRequest) Validate(formats strfmt.Registry) error

Validate validates this newbilling login request

type NewbillingLoginResponse

type NewbillingLoginResponse struct {

	// 接入平台ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 用户token
	Token string `json:"token,omitempty"`

	// 用户ID
	UserID string `json:"user_id,omitempty"`
}

NewbillingLoginResponse 登录响应信息

swagger:model newbillingLoginResponse

func (*NewbillingLoginResponse) ContextValidate

func (m *NewbillingLoginResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling login response based on context it is used

func (*NewbillingLoginResponse) MarshalBinary

func (m *NewbillingLoginResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingLoginResponse) UnmarshalBinary

func (m *NewbillingLoginResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingLoginResponse) Validate

func (m *NewbillingLoginResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling login response

type NewbillingLogoutRequest

type NewbillingLogoutRequest interface{}

NewbillingLogoutRequest 退出请求信息

swagger:model newbillingLogoutRequest

type NewbillingLogoutResponse

type NewbillingLogoutResponse struct {

	// 退出是否成功
	Logout bool `json:"logout,omitempty"`
}

NewbillingLogoutResponse 退出响应信息

swagger:model newbillingLogoutResponse

func (*NewbillingLogoutResponse) ContextValidate

func (m *NewbillingLogoutResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling logout response based on context it is used

func (*NewbillingLogoutResponse) MarshalBinary

func (m *NewbillingLogoutResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingLogoutResponse) UnmarshalBinary

func (m *NewbillingLogoutResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingLogoutResponse) Validate

func (m *NewbillingLogoutResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling logout response

type NewbillingMappingComponentItem

type NewbillingMappingComponentItem struct {

	// 是否存在关联项
	Associate bool `json:"associate,omitempty"`

	// 关联属性,目前是资源包计费项目有1:1关联属性
	AssociateAttr *NewbillingAttribute `json:"associate_attr,omitempty"`

	// 关联计费项目的详细信息
	AssociateComponent *NewbillingComponent `json:"associate_component,omitempty"`

	// 计费项ID
	CompID string `json:"comp_id,omitempty"`
}

NewbillingMappingComponentItem newbilling mapping component item

swagger:model newbillingMappingComponentItem

func (*NewbillingMappingComponentItem) ContextValidate

func (m *NewbillingMappingComponentItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling mapping component item based on the context it is used

func (*NewbillingMappingComponentItem) MarshalBinary

func (m *NewbillingMappingComponentItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingMappingComponentItem) UnmarshalBinary

func (m *NewbillingMappingComponentItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingMappingComponentItem) Validate

func (m *NewbillingMappingComponentItem) Validate(formats strfmt.Registry) error

Validate validates this newbilling mapping component item

type NewbillingMappingComponentRequest

type NewbillingMappingComponentRequest struct {

	// 需要转换的计费项ID   @gotags: valid:"Required"
	CompID string `json:"comp_id,omitempty"`

	// 转换后的计费项ID   @gotags: valid:"Required"
	MappingCompID string `json:"mapping_comp_id,omitempty"`
}

NewbillingMappingComponentRequest 设置计费项转换请求信息

swagger:model newbillingMappingComponentRequest

func (*NewbillingMappingComponentRequest) ContextValidate

func (m *NewbillingMappingComponentRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling mapping component request based on context it is used

func (*NewbillingMappingComponentRequest) MarshalBinary

func (m *NewbillingMappingComponentRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingMappingComponentRequest) UnmarshalBinary

func (m *NewbillingMappingComponentRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingMappingComponentRequest) Validate

Validate validates this newbilling mapping component request

type NewbillingMappingComponentResponse

type NewbillingMappingComponentResponse struct {

	// 需要转换的计费项ID
	CompID string `json:"comp_id,omitempty"`
}

NewbillingMappingComponentResponse 设置计费项转换返回信息

swagger:model newbillingMappingComponentResponse

func (*NewbillingMappingComponentResponse) ContextValidate

func (m *NewbillingMappingComponentResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling mapping component response based on context it is used

func (*NewbillingMappingComponentResponse) MarshalBinary

func (m *NewbillingMappingComponentResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingMappingComponentResponse) UnmarshalBinary

func (m *NewbillingMappingComponentResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingMappingComponentResponse) Validate

Validate validates this newbilling mapping component response

type NewbillingModifyAccessSystemRequest

type NewbillingModifyAccessSystemRequest struct {

	// 接入系统编码
	AccessSysCode string `json:"access_sys_code,omitempty"`

	// 接入系统ID @gotags: valid:"Required"
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 接入系统名称
	Name string `json:"name,omitempty"`
}

NewbillingModifyAccessSystemRequest 修改接入系统请求信息

swagger:model newbillingModifyAccessSystemRequest

func (*NewbillingModifyAccessSystemRequest) ContextValidate

func (m *NewbillingModifyAccessSystemRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling modify access system request based on context it is used

func (*NewbillingModifyAccessSystemRequest) MarshalBinary

func (m *NewbillingModifyAccessSystemRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingModifyAccessSystemRequest) UnmarshalBinary

func (m *NewbillingModifyAccessSystemRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingModifyAccessSystemRequest) Validate

Validate validates this newbilling modify access system request

type NewbillingModifyAccessSystemResponse

type NewbillingModifyAccessSystemResponse struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`
}

NewbillingModifyAccessSystemResponse 修改接入系统返回信息

swagger:model newbillingModifyAccessSystemResponse

func (*NewbillingModifyAccessSystemResponse) ContextValidate

func (m *NewbillingModifyAccessSystemResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling modify access system response based on context it is used

func (*NewbillingModifyAccessSystemResponse) MarshalBinary

func (m *NewbillingModifyAccessSystemResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingModifyAccessSystemResponse) UnmarshalBinary

func (m *NewbillingModifyAccessSystemResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingModifyAccessSystemResponse) Validate

Validate validates this newbilling modify access system response

type NewbillingModifyAccessSystemUserRequest

type NewbillingModifyAccessSystemUserRequest struct {

	// 接入平台ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 接入平台用户ID
	AccessSysUserID string `json:"access_sys_user_id,omitempty"`

	// 用户其它信息
	ExtraInfo string `json:"extra_info,omitempty"`

	// 用户状态- value = 1 可用, value = 2 禁用, value = 3 黑名单
	Status int64 `json:"status,omitempty"`

	// 用户ID
	UserID string `json:"user_id,omitempty"`

	// 用户类型- value = 1 owner, value = 2 非owner
	UserType int64 `json:"user_type,omitempty"`
}

NewbillingModifyAccessSystemUserRequest 修改接入平台用户请求信息

swagger:model newbillingModifyAccessSystemUserRequest

func (*NewbillingModifyAccessSystemUserRequest) ContextValidate

ContextValidate validates this newbilling modify access system user request based on context it is used

func (*NewbillingModifyAccessSystemUserRequest) MarshalBinary

func (m *NewbillingModifyAccessSystemUserRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingModifyAccessSystemUserRequest) UnmarshalBinary

func (m *NewbillingModifyAccessSystemUserRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingModifyAccessSystemUserRequest) Validate

Validate validates this newbilling modify access system user request

type NewbillingModifyAccessSystemUserResponse

type NewbillingModifyAccessSystemUserResponse struct {

	// 接入平台ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 用户ID
	UserID string `json:"user_id,omitempty"`
}

NewbillingModifyAccessSystemUserResponse 修改接入平台用户返回信息

swagger:model newbillingModifyAccessSystemUserResponse

func (*NewbillingModifyAccessSystemUserResponse) ContextValidate

ContextValidate validates this newbilling modify access system user response based on context it is used

func (*NewbillingModifyAccessSystemUserResponse) MarshalBinary

func (m *NewbillingModifyAccessSystemUserResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingModifyAccessSystemUserResponse) UnmarshalBinary

func (m *NewbillingModifyAccessSystemUserResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingModifyAccessSystemUserResponse) Validate

Validate validates this newbilling modify access system user response

type NewbillingModifyActionRequest

type NewbillingModifyActionRequest struct {

	// 操作信息ID
	ActionID string `json:"action_id,omitempty"`

	// 操作信息-API类型- value = read 只读, value = write 只写,  value = delete 删除,  value = modify 修改
	ActionType string `json:"action_type,omitempty"`

	// 操作信息-API ID
	APIID string `json:"api_id,omitempty"`

	// 操作信息-API方法
	APIMethod string `json:"api_method,omitempty"`

	// 操作信息-API名称
	APIName string `json:"api_name,omitempty"`

	// 操作信息-描述
	Description string `json:"description,omitempty"`

	// 操作信息-模块ID
	ModuleID string `json:"module_id,omitempty"`

	// 操作信息-模块名称
	ModuleName string `json:"module_name,omitempty"`
}

NewbillingModifyActionRequest 修改操作请求信息

swagger:model newbillingModifyActionRequest

func (*NewbillingModifyActionRequest) ContextValidate

func (m *NewbillingModifyActionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling modify action request based on context it is used

func (*NewbillingModifyActionRequest) MarshalBinary

func (m *NewbillingModifyActionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingModifyActionRequest) UnmarshalBinary

func (m *NewbillingModifyActionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingModifyActionRequest) Validate

func (m *NewbillingModifyActionRequest) Validate(formats strfmt.Registry) error

Validate validates this newbilling modify action request

type NewbillingModifyActionResponse

type NewbillingModifyActionResponse struct {

	// 操作信息ID
	ActionID string `json:"action_id,omitempty"`
}

NewbillingModifyActionResponse 修改操作返回信息

swagger:model newbillingModifyActionResponse

func (*NewbillingModifyActionResponse) ContextValidate

func (m *NewbillingModifyActionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling modify action response based on context it is used

func (*NewbillingModifyActionResponse) MarshalBinary

func (m *NewbillingModifyActionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingModifyActionResponse) UnmarshalBinary

func (m *NewbillingModifyActionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingModifyActionResponse) Validate

func (m *NewbillingModifyActionResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling modify action response

type NewbillingModifyAttributeRequest

type NewbillingModifyAttributeRequest struct {

	// 接入系统ID仅super user有效,接入系统管理员/成员会默认用当前登陆的接入系统
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 聚合方法
	Aggregation string `json:"aggregation,omitempty"`

	// 属性编码
	AttrCode string `json:"attr_code,omitempty"`

	// 属性ID  @gotags:valid:"Required"
	AttrID string `json:"attr_id,omitempty"`

	// 属性描述
	Description string `json:"description,omitempty"`

	// 是否需要计量
	IsNeedMeter int64 `json:"is_need_meter,omitempty"`

	// 计量数据的时间精度
	MeteringPeriod int64 `json:"metering_period,omitempty"`

	// 该产品属性对应的计量服务中的指标
	MetricInAcessSys string `json:"metric_in_acess_sys,omitempty"`

	// 属性名称 @gotags:valid:"MaxSize(30)"
	Name string `json:"name,omitempty"`

	// 属性值单位
	Unit string `json:"unit,omitempty"`

	// 属性值类型  @gotags:valid:"OneOf(bool,string,number)"
	ValueType string `json:"value_type,omitempty"`
}

NewbillingModifyAttributeRequest 修改属性请求信息

swagger:model newbillingModifyAttributeRequest

func (*NewbillingModifyAttributeRequest) ContextValidate

func (m *NewbillingModifyAttributeRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling modify attribute request based on context it is used

func (*NewbillingModifyAttributeRequest) MarshalBinary

func (m *NewbillingModifyAttributeRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingModifyAttributeRequest) UnmarshalBinary

func (m *NewbillingModifyAttributeRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingModifyAttributeRequest) Validate

Validate validates this newbilling modify attribute request

type NewbillingModifyAttributeResponse

type NewbillingModifyAttributeResponse struct {

	// 属性ID
	AttrID string `json:"attr_id,omitempty"`
}

NewbillingModifyAttributeResponse 修改属性返回信息

swagger:model newbillingModifyAttributeResponse

func (*NewbillingModifyAttributeResponse) ContextValidate

func (m *NewbillingModifyAttributeResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling modify attribute response based on context it is used

func (*NewbillingModifyAttributeResponse) MarshalBinary

func (m *NewbillingModifyAttributeResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingModifyAttributeResponse) UnmarshalBinary

func (m *NewbillingModifyAttributeResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingModifyAttributeResponse) Validate

Validate validates this newbilling modify attribute response

type NewbillingModifyCatalogRequest

type NewbillingModifyCatalogRequest struct {

	// 接入系统ID仅super user有效,接入系统管理员/成员会默认用当前登陆的接入系统
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 产品目录编码
	CataCode string `json:"cata_code,omitempty"`

	// 产品目录ID
	CataID string `json:"cata_id,omitempty"`

	// 产品目录名称  @gotags:valid:"MaxSize(30)"
	Name string `json:"name,omitempty"`

	// 产品目录的父目录ID
	ParentCataID string `json:"parent_cata_id,omitempty"`
}

NewbillingModifyCatalogRequest 修改产品目录请求信息

swagger:model newbillingModifyCatalogRequest

func (*NewbillingModifyCatalogRequest) ContextValidate

func (m *NewbillingModifyCatalogRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling modify catalog request based on context it is used

func (*NewbillingModifyCatalogRequest) MarshalBinary

func (m *NewbillingModifyCatalogRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingModifyCatalogRequest) UnmarshalBinary

func (m *NewbillingModifyCatalogRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingModifyCatalogRequest) Validate

func (m *NewbillingModifyCatalogRequest) Validate(formats strfmt.Registry) error

Validate validates this newbilling modify catalog request

type NewbillingModifyCatalogResponse

type NewbillingModifyCatalogResponse struct {

	// 产品目录ID
	CataID string `json:"cata_id,omitempty"`
}

NewbillingModifyCatalogResponse 修改产品目录返回信息

swagger:model newbillingModifyCatalogResponse

func (*NewbillingModifyCatalogResponse) ContextValidate

func (m *NewbillingModifyCatalogResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling modify catalog response based on context it is used

func (*NewbillingModifyCatalogResponse) MarshalBinary

func (m *NewbillingModifyCatalogResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingModifyCatalogResponse) UnmarshalBinary

func (m *NewbillingModifyCatalogResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingModifyCatalogResponse) Validate

Validate validates this newbilling modify catalog response

type NewbillingModifyComponentRequest

type NewbillingModifyComponentRequest struct {

	// 接入系统ID仅super user有效,接入系统管理员/成员会默认用当前登陆的接入系统
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 计费项编码
	CompCode string `json:"comp_code,omitempty"`

	// 计费项ID   @gotags: valid:"Required"
	CompID string `json:"comp_id,omitempty"`

	// 计费项描述
	Description string `json:"description,omitempty"`

	// 计费项名称   @gotags: valid:"MaxSize(30)"
	Name string `json:"name,omitempty"`

	// 方案ID
	PlanID string `json:"plan_id,omitempty"`

	// 产品ID
	ProdID string `json:"prod_id,omitempty"`
}

NewbillingModifyComponentRequest 修改计费项请求信息

swagger:model newbillingModifyComponentRequest

func (*NewbillingModifyComponentRequest) ContextValidate

func (m *NewbillingModifyComponentRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling modify component request based on context it is used

func (*NewbillingModifyComponentRequest) MarshalBinary

func (m *NewbillingModifyComponentRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingModifyComponentRequest) UnmarshalBinary

func (m *NewbillingModifyComponentRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingModifyComponentRequest) Validate

Validate validates this newbilling modify component request

type NewbillingModifyComponentResponse

type NewbillingModifyComponentResponse struct {

	// 计费项ID
	CompID string `json:"comp_id,omitempty"`
}

NewbillingModifyComponentResponse 修改计费项返回信息

swagger:model newbillingModifyComponentResponse

func (*NewbillingModifyComponentResponse) ContextValidate

func (m *NewbillingModifyComponentResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling modify component response based on context it is used

func (*NewbillingModifyComponentResponse) MarshalBinary

func (m *NewbillingModifyComponentResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingModifyComponentResponse) UnmarshalBinary

func (m *NewbillingModifyComponentResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingModifyComponentResponse) Validate

Validate validates this newbilling modify component response

type NewbillingModifyCustomerDiscountRequest

type NewbillingModifyCustomerDiscountRequest struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 客户折扣描述
	CustomerDiscountDesc string `json:"customer_discount_desc,omitempty"`

	// 客户折扣ID
	CustomerDiscountID string `json:"customer_discount_id,omitempty"`

	// 客户折扣名称 @gotags:valid:"MaxSize(50)"
	CustomerDiscountName string `json:"customer_discount_name,omitempty"`

	// 客户ID
	CustomerID string `json:"customer_id,omitempty"`

	// 是否禁用- 0:启用,1:禁用
	Disabled bool `json:"disabled,omitempty"`

	// 折扣模式 user=用户折扣为准 both=折上折(默认)
	DiscountMode string `json:"discount_mode,omitempty"`

	// 折扣值
	DiscountValue int64 `json:"discount_value,omitempty"`

	// 客户折扣生效时间
	// Format: date-time
	EffectiveTime *strfmt.DateTime `json:"effective_time,omitempty"`

	// 客户折扣失效时间
	// Format: date-time
	ExpirationTime *strfmt.DateTime `json:"expiration_time,omitempty"`

	// 折扣需要满足的条件组
	FiltersMapList []*NewbillingDiscountFilerMap `json:"filters_map_list"`
}

NewbillingModifyCustomerDiscountRequest 修改客户折扣请求信息

swagger:model newbillingModifyCustomerDiscountRequest

func (*NewbillingModifyCustomerDiscountRequest) ContextValidate

ContextValidate validate this newbilling modify customer discount request based on the context it is used

func (*NewbillingModifyCustomerDiscountRequest) MarshalBinary

func (m *NewbillingModifyCustomerDiscountRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingModifyCustomerDiscountRequest) UnmarshalBinary

func (m *NewbillingModifyCustomerDiscountRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingModifyCustomerDiscountRequest) Validate

Validate validates this newbilling modify customer discount request

type NewbillingModifyCustomerDiscountResponse

type NewbillingModifyCustomerDiscountResponse struct {

	// 客户折扣ID
	CustomerDiscountID string `json:"customer_discount_id,omitempty"`
}

NewbillingModifyCustomerDiscountResponse 修改客户折扣返回信息

swagger:model newbillingModifyCustomerDiscountResponse

func (*NewbillingModifyCustomerDiscountResponse) ContextValidate

ContextValidate validates this newbilling modify customer discount response based on context it is used

func (*NewbillingModifyCustomerDiscountResponse) MarshalBinary

func (m *NewbillingModifyCustomerDiscountResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingModifyCustomerDiscountResponse) UnmarshalBinary

func (m *NewbillingModifyCustomerDiscountResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingModifyCustomerDiscountResponse) Validate

Validate validates this newbilling modify customer discount response

type NewbillingModifyFilterNameRequest

type NewbillingModifyFilterNameRequest struct {

	// 接入系统ID仅super user有效,接入系统管理员/成员会默认用当前登陆的接入系统
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 条件ID @gotags:valid:"Required"
	FilterID string `json:"filter_id,omitempty"`

	// 条件名称
	Name string `json:"name,omitempty"`
}

NewbillingModifyFilterNameRequest 修改条件请求信息 - 修改名称。

swagger:model newbillingModifyFilterNameRequest

func (*NewbillingModifyFilterNameRequest) ContextValidate

func (m *NewbillingModifyFilterNameRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling modify filter name request based on context it is used

func (*NewbillingModifyFilterNameRequest) MarshalBinary

func (m *NewbillingModifyFilterNameRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingModifyFilterNameRequest) UnmarshalBinary

func (m *NewbillingModifyFilterNameRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingModifyFilterNameRequest) Validate

Validate validates this newbilling modify filter name request

type NewbillingModifyFilterNameResponse

type NewbillingModifyFilterNameResponse struct {

	// 条件ID
	FilterID string `json:"filter_id,omitempty"`
}

NewbillingModifyFilterNameResponse 修改条件返回信息 - 修改名称。

swagger:model newbillingModifyFilterNameResponse

func (*NewbillingModifyFilterNameResponse) ContextValidate

func (m *NewbillingModifyFilterNameResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling modify filter name response based on context it is used

func (*NewbillingModifyFilterNameResponse) MarshalBinary

func (m *NewbillingModifyFilterNameResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingModifyFilterNameResponse) UnmarshalBinary

func (m *NewbillingModifyFilterNameResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingModifyFilterNameResponse) Validate

Validate validates this newbilling modify filter name response

type NewbillingModifyFilterRequest

type NewbillingModifyFilterRequest struct {

	// 接入系统ID仅super user有效,接入系统管理员/成员会默认用当前登陆的接入系统
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 条件描述
	Description string `json:"description,omitempty"`

	// 条件编码
	FilterCode string `json:"filter_code,omitempty"`

	// 条件ID @gotags:valid:"Required"
	FilterID string `json:"filter_id,omitempty"`

	// 条件左值
	LeftValue string `json:"left_value,omitempty"`

	// 条件名称
	Name string `json:"name,omitempty"`

	// 条件操作符
	Operator string `json:"operator,omitempty"`

	// 产品ID
	ProdID string `json:"prod_id,omitempty"`

	// 条件备注
	Remark string `json:"remark,omitempty"`

	// 条件右值
	RightValue string `json:"right_value,omitempty"`
}

NewbillingModifyFilterRequest 修改条件请求信息

swagger:model newbillingModifyFilterRequest

func (*NewbillingModifyFilterRequest) ContextValidate

func (m *NewbillingModifyFilterRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling modify filter request based on context it is used

func (*NewbillingModifyFilterRequest) MarshalBinary

func (m *NewbillingModifyFilterRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingModifyFilterRequest) UnmarshalBinary

func (m *NewbillingModifyFilterRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingModifyFilterRequest) Validate

func (m *NewbillingModifyFilterRequest) Validate(formats strfmt.Registry) error

Validate validates this newbilling modify filter request

type NewbillingModifyFilterResponse

type NewbillingModifyFilterResponse struct {

	// 条件ID
	FilterID string `json:"filter_id,omitempty"`
}

NewbillingModifyFilterResponse 修改条件返回信息

swagger:model newbillingModifyFilterResponse

func (*NewbillingModifyFilterResponse) ContextValidate

func (m *NewbillingModifyFilterResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling modify filter response based on context it is used

func (*NewbillingModifyFilterResponse) MarshalBinary

func (m *NewbillingModifyFilterResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingModifyFilterResponse) UnmarshalBinary

func (m *NewbillingModifyFilterResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingModifyFilterResponse) Validate

func (m *NewbillingModifyFilterResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling modify filter response

type NewbillingModifyPlanRequest

type NewbillingModifyPlanRequest struct {

	// 接入系统ID仅super user有效,接入系统管理员/成员会默认用当前登陆的接入系
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 方案描述
	Description string `json:"description,omitempty"`

	// 方案编码
	PlanCode string `json:"plan_code,omitempty"`

	// 方案ID @gotags: valid:"Required"
	PlanID string `json:"plan_id,omitempty"`

	// 方案名称 @gotags: valid:"MaxSize(30)"
	PlanName string `json:"plan_name,omitempty"`

	// 定价方式 @gotags:valid:"OneOf(simple,formula)"
	PricingMethod string `json:"pricing_method,omitempty"`
}

NewbillingModifyPlanRequest 修改方案请求信息

swagger:model newbillingModifyPlanRequest

func (*NewbillingModifyPlanRequest) ContextValidate

func (m *NewbillingModifyPlanRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling modify plan request based on context it is used

func (*NewbillingModifyPlanRequest) MarshalBinary

func (m *NewbillingModifyPlanRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingModifyPlanRequest) UnmarshalBinary

func (m *NewbillingModifyPlanRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingModifyPlanRequest) Validate

func (m *NewbillingModifyPlanRequest) Validate(formats strfmt.Registry) error

Validate validates this newbilling modify plan request

type NewbillingModifyPlanResponse

type NewbillingModifyPlanResponse struct {

	// 方案ID
	PlanID string `json:"plan_id,omitempty"`
}

NewbillingModifyPlanResponse 修改方案返回信息

swagger:model newbillingModifyPlanResponse

func (*NewbillingModifyPlanResponse) ContextValidate

func (m *NewbillingModifyPlanResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling modify plan response based on context it is used

func (*NewbillingModifyPlanResponse) MarshalBinary

func (m *NewbillingModifyPlanResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingModifyPlanResponse) UnmarshalBinary

func (m *NewbillingModifyPlanResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingModifyPlanResponse) Validate

func (m *NewbillingModifyPlanResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling modify plan response

type NewbillingModifyProductRequest

type NewbillingModifyProductRequest struct {

	// 接入系统ID仅super user有效,接入系统管理员/成员会默认用当前登陆的接入系统
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 产品目录ID
	CataID string `json:"cata_id,omitempty"`

	// 产品描述
	Description string `json:"description,omitempty"`

	// 产品生效时间
	// Format: date-time
	EffectiveTime *strfmt.DateTime `json:"effective_time,omitempty"`

	// 产品失效时间
	// Format: date-time
	ExpirationTime *strfmt.DateTime `json:"expiration_time,omitempty"`

	// 产品名称  @gotags:valid:"MaxSize(60)"
	Name string `json:"name,omitempty"`

	// 产品编码
	ProdCode string `json:"prod_code,omitempty"`

	// 产品ID  @gotags:valid:"Required"
	ProdID string `json:"prod_id,omitempty"`

	// 产品备注
	Remark string `json:"remark,omitempty"`
}

NewbillingModifyProductRequest 修改产品请求信息

swagger:model newbillingModifyProductRequest

func (*NewbillingModifyProductRequest) ContextValidate

func (m *NewbillingModifyProductRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling modify product request based on context it is used

func (*NewbillingModifyProductRequest) MarshalBinary

func (m *NewbillingModifyProductRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingModifyProductRequest) UnmarshalBinary

func (m *NewbillingModifyProductRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingModifyProductRequest) Validate

func (m *NewbillingModifyProductRequest) Validate(formats strfmt.Registry) error

Validate validates this newbilling modify product request

type NewbillingModifyProductResponse

type NewbillingModifyProductResponse struct {

	// 产品ID
	ProdID string `json:"prod_id,omitempty"`
}

NewbillingModifyProductResponse 修改产品返回信息

swagger:model newbillingModifyProductResponse

func (*NewbillingModifyProductResponse) ContextValidate

func (m *NewbillingModifyProductResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling modify product response based on context it is used

func (*NewbillingModifyProductResponse) MarshalBinary

func (m *NewbillingModifyProductResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingModifyProductResponse) UnmarshalBinary

func (m *NewbillingModifyProductResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingModifyProductResponse) Validate

Validate validates this newbilling modify product response

type NewbillingModifyRoleRequest

type NewbillingModifyRoleRequest struct {

	// 角色描述
	Description string `json:"description,omitempty"`

	// 角色ID
	RoleID string `json:"role_id,omitempty"`

	// 角色名称
	RoleName string `json:"role_name,omitempty"`

	// 角色状态- value = 1 可用, value = 2 禁用
	Status int64 `json:"status,omitempty"`
}

NewbillingModifyRoleRequest 修改角色请求信息

swagger:model newbillingModifyRoleRequest

func (*NewbillingModifyRoleRequest) ContextValidate

func (m *NewbillingModifyRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling modify role request based on context it is used

func (*NewbillingModifyRoleRequest) MarshalBinary

func (m *NewbillingModifyRoleRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingModifyRoleRequest) UnmarshalBinary

func (m *NewbillingModifyRoleRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingModifyRoleRequest) Validate

func (m *NewbillingModifyRoleRequest) Validate(formats strfmt.Registry) error

Validate validates this newbilling modify role request

type NewbillingModifyRoleResponse

type NewbillingModifyRoleResponse struct {

	// 角色ID
	RoleID string `json:"role_id,omitempty"`
}

NewbillingModifyRoleResponse 修改角色返回信息

swagger:model newbillingModifyRoleResponse

func (*NewbillingModifyRoleResponse) ContextValidate

func (m *NewbillingModifyRoleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling modify role response based on context it is used

func (*NewbillingModifyRoleResponse) MarshalBinary

func (m *NewbillingModifyRoleResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingModifyRoleResponse) UnmarshalBinary

func (m *NewbillingModifyRoleResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingModifyRoleResponse) Validate

func (m *NewbillingModifyRoleResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling modify role response

type NewbillingModifyServiceRequest

type NewbillingModifyServiceRequest struct {

	// 接入系统ID 仅nb super user有效
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 对接服务渠道,目前仅payment需要此选项,值可选: pitrix-charging(iaas计费)/alipay
	Channel string `json:"channel,omitempty"`

	// 对接服务配置信息,json串形式,会根据service[+channel]信息联合控制json格式,
	// 并且只有能成功访问的才可更新
	Content string `json:"content,omitempty"`

	// 对接系统服务配置对象id
	ScopeID string `json:"scope_id,omitempty"`

	// 对接系统服务配置对象
	ScopeType string `json:"scope_type,omitempty"`

	// 对接服务,目前支持 account/payment/metering/notifier
	Service string `json:"service,omitempty"`
}

NewbillingModifyServiceRequest 修改校验对计费服务配置请求信息

swagger:model newbillingModifyServiceRequest

func (*NewbillingModifyServiceRequest) ContextValidate

func (m *NewbillingModifyServiceRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling modify service request based on context it is used

func (*NewbillingModifyServiceRequest) MarshalBinary

func (m *NewbillingModifyServiceRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingModifyServiceRequest) UnmarshalBinary

func (m *NewbillingModifyServiceRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingModifyServiceRequest) Validate

func (m *NewbillingModifyServiceRequest) Validate(formats strfmt.Registry) error

Validate validates this newbilling modify service request

type NewbillingModifyServiceResponse

type NewbillingModifyServiceResponse struct {

	// 对接服务渠道
	Channel string `json:"channel,omitempty"`

	// 对接系统服务配置对象id
	ScopeID string `json:"scope_id,omitempty"`

	// 对接系统服务配置对象
	ScopeType string `json:"scope_type,omitempty"`

	// 对接服务类型,目前支持 account/payment/metering/notifier
	Service string `json:"service,omitempty"`
}

NewbillingModifyServiceResponse 修改对接服务返回信息

swagger:model newbillingModifyServiceResponse

func (*NewbillingModifyServiceResponse) ContextValidate

func (m *NewbillingModifyServiceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling modify service response based on context it is used

func (*NewbillingModifyServiceResponse) MarshalBinary

func (m *NewbillingModifyServiceResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingModifyServiceResponse) UnmarshalBinary

func (m *NewbillingModifyServiceResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingModifyServiceResponse) Validate

Validate validates this newbilling modify service response

type NewbillingModifyStrategyRequest

type NewbillingModifyStrategyRequest struct {

	// 接入系统ID仅super user有效,接入系统管理员/成员会默认用当前登陆的接入系统
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 基础折扣
	BasicDiscount float32 `json:"basic_discount,omitempty"`

	// 计费项ID
	CompID string `json:"comp_id,omitempty"`

	// 费用表达式公式
	CostExpression string `json:"cost_expression,omitempty"`

	// 条件表达式
	FilterExpression string `json:"filter_expression,omitempty"`

	// 策略名称  @gotags: valid:"MaxSize(60)"
	Name string `json:"name,omitempty"`

	// 产品ID
	ProdID string `json:"prod_id,omitempty"`

	// 策略备注
	Remark string `json:"remark,omitempty"`

	// 策略编码
	StrategyCode string `json:"strategy_code,omitempty"`

	// 策略ID @gotags: valid:"Required"
	StrategyID string `json:"strategy_id,omitempty"`
}

NewbillingModifyStrategyRequest 修改策略请求信息

swagger:model newbillingModifyStrategyRequest

func (*NewbillingModifyStrategyRequest) ContextValidate

func (m *NewbillingModifyStrategyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling modify strategy request based on context it is used

func (*NewbillingModifyStrategyRequest) MarshalBinary

func (m *NewbillingModifyStrategyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingModifyStrategyRequest) UnmarshalBinary

func (m *NewbillingModifyStrategyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingModifyStrategyRequest) Validate

Validate validates this newbilling modify strategy request

type NewbillingModifyStrategyResponse

type NewbillingModifyStrategyResponse struct {

	// 策略ID
	StrategyID string `json:"strategy_id,omitempty"`
}

NewbillingModifyStrategyResponse 修改策略返回信息

swagger:model newbillingModifyStrategyResponse

func (*NewbillingModifyStrategyResponse) ContextValidate

func (m *NewbillingModifyStrategyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling modify strategy response based on context it is used

func (*NewbillingModifyStrategyResponse) MarshalBinary

func (m *NewbillingModifyStrategyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingModifyStrategyResponse) UnmarshalBinary

func (m *NewbillingModifyStrategyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingModifyStrategyResponse) Validate

Validate validates this newbilling modify strategy response

type NewbillingModifyUserRequest

type NewbillingModifyUserRequest struct {

	// 邀请用户时的接入平台ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 地址
	Address string `json:"address,omitempty"`

	// 邀请用户时产生的编号
	Code string `json:"code,omitempty"`

	// 公司编码
	CompanyCode string `json:"company_code,omitempty"`

	// 公司名称
	CompanyName string `json:"company_name,omitempty"`

	// 公司电话
	CompanyPhone string `json:"company_phone,omitempty"`

	// 货币种类
	Currency string `json:"currency,omitempty"`

	// 用户邮件-帐号
	Email string `json:"email,omitempty"`

	// 用户图像
	Image string `json:"image,omitempty"`

	// 所属行业
	IndustryCategory string `json:"industry_category,omitempty"`

	// 语言
	Lang string `json:"lang,omitempty"`

	// 用户密码
	Passwd string `json:"passwd,omitempty"`

	// 用户编码
	PersonalCode string `json:"personal_code,omitempty"`

	// 用户姓名
	PersonalName string `json:"personal_name,omitempty"`

	// 手机号
	Phone string `json:"phone,omitempty"`

	// 备注
	Remarks string `json:"remarks,omitempty"`

	// 修改用户角色ID
	RoleID []string `json:"role_id"`

	// 销售类型
	SaleType string `json:"sale_type,omitempty"`

	// 用户状态- value = 1 可用, value = 2 禁用, value = 3 黑名单, value = 4 未加入
	Status int64 `json:"status,omitempty"`

	// 用户ID
	UserID string `json:"user_id,omitempty"`

	// 验证类型
	VerifyType string `json:"verify_type,omitempty"`
}

NewbillingModifyUserRequest 修改用户请求信息

swagger:model newbillingModifyUserRequest

func (*NewbillingModifyUserRequest) ContextValidate

func (m *NewbillingModifyUserRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling modify user request based on context it is used

func (*NewbillingModifyUserRequest) MarshalBinary

func (m *NewbillingModifyUserRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingModifyUserRequest) UnmarshalBinary

func (m *NewbillingModifyUserRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingModifyUserRequest) Validate

func (m *NewbillingModifyUserRequest) Validate(formats strfmt.Registry) error

Validate validates this newbilling modify user request

type NewbillingModifyUserResponse

type NewbillingModifyUserResponse struct {

	// 修改的用户ID
	UserID string `json:"user_id,omitempty"`
}

NewbillingModifyUserResponse 修改用户返回信息

swagger:model newbillingModifyUserResponse

func (*NewbillingModifyUserResponse) ContextValidate

func (m *NewbillingModifyUserResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling modify user response based on context it is used

func (*NewbillingModifyUserResponse) MarshalBinary

func (m *NewbillingModifyUserResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingModifyUserResponse) UnmarshalBinary

func (m *NewbillingModifyUserResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingModifyUserResponse) Validate

func (m *NewbillingModifyUserResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling modify user response

type NewbillingNotifyAlipayResponse

type NewbillingNotifyAlipayResponse interface{}

NewbillingNotifyAlipayResponse newbilling notify alipay response

swagger:model newbillingNotifyAlipayResponse

type NewbillingNotifyStripeResponse

type NewbillingNotifyStripeResponse interface{}

NewbillingNotifyStripeResponse newbilling notify stripe response

swagger:model newbillingNotifyStripeResponse

type NewbillingNotifyWxpayResponse

type NewbillingNotifyWxpayResponse interface{}

NewbillingNotifyWxpayResponse newbilling notify wxpay response

swagger:model newbillingNotifyWxpayResponse

type NewbillingOPARoleBindingsResponse

type NewbillingOPARoleBindingsResponse struct {

	// 操作信息-API类型- value = read 只读, value = write 只写,  value = delete 删除,  value = modify 修改
	ActionType string `json:"action_type,omitempty"`

	// 操作信息-API ID
	APIID string `json:"api_id,omitempty"`

	// 操作信息-模块ID
	ModuleID string `json:"module_id,omitempty"`

	// OPA认证角色绑定信息
	RoleBindings string `json:"role_bindings,omitempty"`

	// 用户ID
	UserID string `json:"user_id,omitempty"`
}

NewbillingOPARoleBindingsResponse am-产品级别的鉴权处理逻辑返回信息

swagger:model newbillingOPARoleBindingsResponse

func (*NewbillingOPARoleBindingsResponse) ContextValidate

func (m *NewbillingOPARoleBindingsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling o p a role bindings response based on context it is used

func (*NewbillingOPARoleBindingsResponse) MarshalBinary

func (m *NewbillingOPARoleBindingsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingOPARoleBindingsResponse) UnmarshalBinary

func (m *NewbillingOPARoleBindingsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingOPARoleBindingsResponse) Validate

Validate validates this newbilling o p a role bindings response

type NewbillingOpenAPIAuthenticationResponse

type NewbillingOpenAPIAuthenticationResponse struct {

	// 是否认证通过1.Unauthorized认证失败 2.Forbidden没有api权限 3.Authorized鉴权通过4.RequestTimeout请求超时
	Result string `json:"result,omitempty"`
}

NewbillingOpenAPIAuthenticationResponse newbilling open Api authentication response

swagger:model newbillingOpenApiAuthenticationResponse

func (*NewbillingOpenAPIAuthenticationResponse) ContextValidate

ContextValidate validates this newbilling open Api authentication response based on context it is used

func (*NewbillingOpenAPIAuthenticationResponse) MarshalBinary

func (m *NewbillingOpenAPIAuthenticationResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingOpenAPIAuthenticationResponse) UnmarshalBinary

func (m *NewbillingOpenAPIAuthenticationResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingOpenAPIAuthenticationResponse) Validate

Validate validates this newbilling open Api authentication response

type NewbillingOrder

type NewbillingOrder struct {

	// access sys id
	AccessSysID string `json:"access_sys_id,omitempty"`

	// amount
	Amount float32 `json:"amount,omitempty"`

	// channel
	Channel string `json:"channel,omitempty"`

	// create time
	// Format: date-time
	CreateTime *strfmt.DateTime `json:"create_time,omitempty"`

	// currency
	Currency string `json:"currency,omitempty"`

	// order id
	OrderID string `json:"order_id,omitempty"`

	// out trade no
	OutTradeNo string `json:"out_trade_no,omitempty"`

	// passback
	Passback string `json:"passback,omitempty"`

	// remark
	Remark string `json:"remark,omitempty"`

	// return url
	ReturnURL string `json:"return_url,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// status time
	// Format: date-time
	StatusTime *strfmt.DateTime `json:"status_time,omitempty"`

	// subject
	Subject string `json:"subject,omitempty"`

	// trade no
	TradeNo string `json:"trade_no,omitempty"`

	// update time
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"update_time,omitempty"`
}

NewbillingOrder newbilling order

swagger:model newbillingOrder

func (*NewbillingOrder) ContextValidate

func (m *NewbillingOrder) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling order based on context it is used

func (*NewbillingOrder) MarshalBinary

func (m *NewbillingOrder) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingOrder) UnmarshalBinary

func (m *NewbillingOrder) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingOrder) Validate

func (m *NewbillingOrder) Validate(formats strfmt.Registry) error

Validate validates this newbilling order

type NewbillingOrderProduct

type NewbillingOrderProduct struct {

	// 计费方案
	Plan *NewbillingPlanWithAttrs `json:"plan,omitempty"`

	// 产品ID
	ProdID string `json:"prod_id,omitempty"`

	// 外部产品实例ID,多个代表多个实例
	ProdInstanceExtArray []*NewbillingProdInstanceExt `json:"prod_instance_ext_array"`

	// 产品名称
	ProdName string `json:"prod_name,omitempty"`
}

NewbillingOrderProduct [包含具体配置的一类产品,例如:2核4G的虚拟主机]

swagger:model newbillingOrderProduct

func (*NewbillingOrderProduct) ContextValidate

func (m *NewbillingOrderProduct) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling order product based on the context it is used

func (*NewbillingOrderProduct) MarshalBinary

func (m *NewbillingOrderProduct) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingOrderProduct) UnmarshalBinary

func (m *NewbillingOrderProduct) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingOrderProduct) Validate

func (m *NewbillingOrderProduct) Validate(formats strfmt.Registry) error

Validate validates this newbilling order product

type NewbillingOrderProductV2

type NewbillingOrderProductV2 struct {

	// 计费方案
	Plan *NewbillingPlanWithAttrsV2 `json:"plan,omitempty"`

	// 产品ID
	ProdID string `json:"prod_id,omitempty"`

	// 外部产品实例ID,多个代表多个实例
	ProdInstanceExtArray []*NewbillingProdInstanceExt `json:"prod_instance_ext_array"`

	// 产品名称
	ProdName string `json:"prod_name,omitempty"`
}

NewbillingOrderProductV2 [包含具体配置的一类产品,例如:2核4G的虚拟主机]

swagger:model newbillingOrderProductV2

func (*NewbillingOrderProductV2) ContextValidate

func (m *NewbillingOrderProductV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling order product v2 based on the context it is used

func (*NewbillingOrderProductV2) MarshalBinary

func (m *NewbillingOrderProductV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingOrderProductV2) UnmarshalBinary

func (m *NewbillingOrderProductV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingOrderProductV2) Validate

func (m *NewbillingOrderProductV2) Validate(formats strfmt.Registry) error

Validate validates this newbilling order product v2

type NewbillingPatchSubsCompStatus

type NewbillingPatchSubsCompStatus struct {

	// patch type
	PatchType string `json:"patch_type,omitempty"`

	// subs component id
	SubsComponentID string `json:"subs_component_id,omitempty"`
}

NewbillingPatchSubsCompStatus newbilling patch subs comp status

swagger:model newbillingPatchSubsCompStatus

func (*NewbillingPatchSubsCompStatus) ContextValidate

func (m *NewbillingPatchSubsCompStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling patch subs comp status based on context it is used

func (*NewbillingPatchSubsCompStatus) MarshalBinary

func (m *NewbillingPatchSubsCompStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPatchSubsCompStatus) UnmarshalBinary

func (m *NewbillingPatchSubsCompStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPatchSubsCompStatus) Validate

func (m *NewbillingPatchSubsCompStatus) Validate(formats strfmt.Registry) error

Validate validates this newbilling patch subs comp status

type NewbillingPatchSubsCompStatusResponse

type NewbillingPatchSubsCompStatusResponse struct {

	// ok
	Ok bool `json:"ok,omitempty"`
}

NewbillingPatchSubsCompStatusResponse newbilling patch subs comp status response

swagger:model newbillingPatchSubsCompStatusResponse

func (*NewbillingPatchSubsCompStatusResponse) ContextValidate

func (m *NewbillingPatchSubsCompStatusResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling patch subs comp status response based on context it is used

func (*NewbillingPatchSubsCompStatusResponse) MarshalBinary

func (m *NewbillingPatchSubsCompStatusResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPatchSubsCompStatusResponse) UnmarshalBinary

func (m *NewbillingPatchSubsCompStatusResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPatchSubsCompStatusResponse) Validate

Validate validates this newbilling patch subs comp status response

type NewbillingPauseProdInstanceResponse

type NewbillingPauseProdInstanceResponse struct {

	// 【接入系统产品实例ID】
	ProdInstIDExt string `json:"prod_inst_id_ext,omitempty"`
}

NewbillingPauseProdInstanceResponse 【暂停产品实例计费返回信息】

swagger:model newbillingPauseProdInstanceResponse

func (*NewbillingPauseProdInstanceResponse) ContextValidate

func (m *NewbillingPauseProdInstanceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling pause prod instance response based on context it is used

func (*NewbillingPauseProdInstanceResponse) MarshalBinary

func (m *NewbillingPauseProdInstanceResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPauseProdInstanceResponse) UnmarshalBinary

func (m *NewbillingPauseProdInstanceResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPauseProdInstanceResponse) Validate

Validate validates this newbilling pause prod instance response

type NewbillingPayForUsageResponse

type NewbillingPayForUsageResponse interface{}

NewbillingPayForUsageResponse newbilling pay for usage response

swagger:model newbillingPayForUsageResponse

type NewbillingPaymentCallbackRequest

type NewbillingPaymentCallbackRequest struct {

	// access sys id
	AccessSysID string `json:"access_sys_id,omitempty"`

	// amount
	Amount string `json:"amount,omitempty"`

	// currency
	Currency string `json:"currency,omitempty"`

	// payment中的order id
	OrderID string `json:"order_id,omitempty"`

	// newbilling的charge id
	OutTradeNo string `json:"out_trade_no,omitempty"`

	// passback
	Passback string `json:"passback,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// 支付宝交易号
	TradeNo string `json:"trade_no,omitempty"`
}

NewbillingPaymentCallbackRequest 支付回调请求信息

swagger:model newbillingPaymentCallbackRequest

func (*NewbillingPaymentCallbackRequest) ContextValidate

func (m *NewbillingPaymentCallbackRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling payment callback request based on context it is used

func (*NewbillingPaymentCallbackRequest) MarshalBinary

func (m *NewbillingPaymentCallbackRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPaymentCallbackRequest) UnmarshalBinary

func (m *NewbillingPaymentCallbackRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPaymentCallbackRequest) Validate

Validate validates this newbilling payment callback request

type NewbillingPaymentCallbackResponse

type NewbillingPaymentCallbackResponse struct {

	// charge id
	ChargeID string `json:"charge_id,omitempty"`
}

NewbillingPaymentCallbackResponse 支付回调返回信息

swagger:model newbillingPaymentCallbackResponse

func (*NewbillingPaymentCallbackResponse) ContextValidate

func (m *NewbillingPaymentCallbackResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling payment callback response based on context it is used

func (*NewbillingPaymentCallbackResponse) MarshalBinary

func (m *NewbillingPaymentCallbackResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPaymentCallbackResponse) UnmarshalBinary

func (m *NewbillingPaymentCallbackResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPaymentCallbackResponse) Validate

Validate validates this newbilling payment callback response

type NewbillingPerformBillingJobCallbackResponse

type NewbillingPerformBillingJobCallbackResponse interface{}

NewbillingPerformBillingJobCallbackResponse newbilling perform billing job callback response

swagger:model newbillingPerformBillingJobCallbackResponse

type NewbillingPerformBillingJobRequest

type NewbillingPerformBillingJobRequest struct {

	// 计费任务ID
	BillingJobID string `json:"billing_job_id,omitempty"`
}

NewbillingPerformBillingJobRequest 执行计费任务请求信息(用于调度系统的回调)

swagger:model newbillingPerformBillingJobRequest

func (*NewbillingPerformBillingJobRequest) ContextValidate

func (m *NewbillingPerformBillingJobRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling perform billing job request based on context it is used

func (*NewbillingPerformBillingJobRequest) MarshalBinary

func (m *NewbillingPerformBillingJobRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPerformBillingJobRequest) UnmarshalBinary

func (m *NewbillingPerformBillingJobRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPerformBillingJobRequest) Validate

Validate validates this newbilling perform billing job request

type NewbillingPerformBillingJobResponse

type NewbillingPerformBillingJobResponse struct {

	// 计费任务ID
	BillingJobID string `json:"billing_job_id,omitempty"`
}

NewbillingPerformBillingJobResponse 执行计费任务返回信息(用于调度系统的回调)

swagger:model newbillingPerformBillingJobResponse

func (*NewbillingPerformBillingJobResponse) ContextValidate

func (m *NewbillingPerformBillingJobResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling perform billing job response based on context it is used

func (*NewbillingPerformBillingJobResponse) MarshalBinary

func (m *NewbillingPerformBillingJobResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPerformBillingJobResponse) UnmarshalBinary

func (m *NewbillingPerformBillingJobResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPerformBillingJobResponse) Validate

Validate validates this newbilling perform billing job response

type NewbillingPlan

type NewbillingPlan struct {

	// 创建时间
	// Format: date-time
	CreateTime *strfmt.DateTime `json:"create_time,omitempty"`

	// 方案描述
	Description string `json:"description,omitempty"`

	// 方案编码
	PlanCode string `json:"plan_code,omitempty"`

	// 方案ID
	PlanID string `json:"plan_id,omitempty"`

	// 方案名称
	PlanName string `json:"plan_name,omitempty"`

	// 定价方式
	PricingMethod string `json:"pricing_method,omitempty"`

	// 产品ID
	ProdID string `json:"prod_id,omitempty"`

	// 状态
	Status string `json:"status,omitempty"`

	// 状态更新时间
	// Format: date-time
	StatusTime *strfmt.DateTime `json:"status_time,omitempty"`

	// 更新ID
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"update_time,omitempty"`
}

NewbillingPlan 方案

swagger:model newbillingPlan

func (*NewbillingPlan) ContextValidate

func (m *NewbillingPlan) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling plan based on context it is used

func (*NewbillingPlan) MarshalBinary

func (m *NewbillingPlan) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPlan) UnmarshalBinary

func (m *NewbillingPlan) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPlan) Validate

func (m *NewbillingPlan) Validate(formats strfmt.Registry) error

Validate validates this newbilling plan

type NewbillingPlanCode

type NewbillingPlanCode struct {

	// comp codes
	CompCodes []string `json:"comp_codes"`

	// plan code
	PlanCode string `json:"plan_code,omitempty"`
}

NewbillingPlanCode newbilling plan code

swagger:model newbillingPlanCode

func (*NewbillingPlanCode) ContextValidate

func (m *NewbillingPlanCode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling plan code based on context it is used

func (*NewbillingPlanCode) MarshalBinary

func (m *NewbillingPlanCode) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPlanCode) UnmarshalBinary

func (m *NewbillingPlanCode) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPlanCode) Validate

func (m *NewbillingPlanCode) Validate(formats strfmt.Registry) error

Validate validates this newbilling plan code

type NewbillingPlanIDAndCode

type NewbillingPlanIDAndCode struct {

	// code
	Code string `json:"code,omitempty"`

	// comps
	Comps []*NewbillingCompIDAndCode `json:"comps"`

	// id
	ID string `json:"id,omitempty"`
}

NewbillingPlanIDAndCode newbilling plan Id and code

swagger:model newbillingPlanIdAndCode

func (*NewbillingPlanIDAndCode) ContextValidate

func (m *NewbillingPlanIDAndCode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling plan Id and code based on the context it is used

func (*NewbillingPlanIDAndCode) MarshalBinary

func (m *NewbillingPlanIDAndCode) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPlanIDAndCode) UnmarshalBinary

func (m *NewbillingPlanIDAndCode) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPlanIDAndCode) Validate

func (m *NewbillingPlanIDAndCode) Validate(formats strfmt.Registry) error

Validate validates this newbilling plan Id and code

type NewbillingPlanPricing

type NewbillingPlanPricing struct {

	// comp pricing set
	CompPricingSet []*NewbillingComponentPricing `json:"comp_pricing_set"`

	// plan
	Plan *NewbillingPlan `json:"plan,omitempty"`

	// plan code
	PlanCode string `json:"plan_code,omitempty"`

	// plan final price
	PlanFinalPrice float32 `json:"plan_final_price,omitempty"`

	// plan id
	PlanID string `json:"plan_id,omitempty"`

	// plan price
	PlanPrice float32 `json:"plan_price,omitempty"`
}

NewbillingPlanPricing newbilling plan pricing

swagger:model newbillingPlanPricing

func (*NewbillingPlanPricing) ContextValidate

func (m *NewbillingPlanPricing) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling plan pricing based on the context it is used

func (*NewbillingPlanPricing) MarshalBinary

func (m *NewbillingPlanPricing) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPlanPricing) UnmarshalBinary

func (m *NewbillingPlanPricing) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPlanPricing) Validate

func (m *NewbillingPlanPricing) Validate(formats strfmt.Registry) error

Validate validates this newbilling plan pricing

type NewbillingPlanWithAttrs

type NewbillingPlanWithAttrs struct {

	// 计费项 - 计费方案由不同的计费项组成,一个计费方案可以有多个计费项。
	AttrsIDValue []*NewbillingAttrsIDValue `json:"attrs_id_value"`

	// 计费方案的ID
	PlanID string `json:"plan_id,omitempty"`
}

NewbillingPlanWithAttrs 计费方案

swagger:model newbillingPlanWithAttrs

func (*NewbillingPlanWithAttrs) ContextValidate

func (m *NewbillingPlanWithAttrs) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling plan with attrs based on the context it is used

func (*NewbillingPlanWithAttrs) MarshalBinary

func (m *NewbillingPlanWithAttrs) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPlanWithAttrs) UnmarshalBinary

func (m *NewbillingPlanWithAttrs) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPlanWithAttrs) Validate

func (m *NewbillingPlanWithAttrs) Validate(formats strfmt.Registry) error

Validate validates this newbilling plan with attrs

type NewbillingPlanWithAttrsV2

type NewbillingPlanWithAttrsV2 struct {

	// 计费项 - 计费方案由不同的计费项组成,一个计费方案可以有多个计费项。
	Components []*NewbillingComponentInfo `json:"components"`

	// 计费方案的ID
	PlanID string `json:"plan_id,omitempty"`
}

NewbillingPlanWithAttrsV2 计费方案

swagger:model newbillingPlanWithAttrsV2

func (*NewbillingPlanWithAttrsV2) ContextValidate

func (m *NewbillingPlanWithAttrsV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling plan with attrs v2 based on the context it is used

func (*NewbillingPlanWithAttrsV2) MarshalBinary

func (m *NewbillingPlanWithAttrsV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPlanWithAttrsV2) UnmarshalBinary

func (m *NewbillingPlanWithAttrsV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPlanWithAttrsV2) Validate

func (m *NewbillingPlanWithAttrsV2) Validate(formats strfmt.Registry) error

Validate validates this newbilling plan with attrs v2

type NewbillingPrdOrder

type NewbillingPrdOrder struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// amount payable
	AmountPayable float32 `json:"amount_payable,omitempty"`

	// 支付时间
	// Format: date-time
	ChargeTime *strfmt.DateTime `json:"charge_time,omitempty"`

	// cost
	Cost float32 `json:"cost,omitempty"`

	// 主订单创建时间
	// Format: date-time
	CreateTime *strfmt.DateTime `json:"create_time,omitempty"`

	// 自定义信息
	ExtraInfo string `json:"extra_info,omitempty"`

	// order amount
	OrderAmount float32 `json:"order_amount,omitempty"`

	// order cost
	OrderCost float32 `json:"order_cost,omitempty"`

	// 主订单ID
	OrderID string `json:"order_id,omitempty"`

	// 主订单状态- 待支付、已支付、作废
	OrderStatus string `json:"order_status,omitempty"`

	// order type
	OrderType string `json:"order_type,omitempty"`

	// 主订单用户ID
	OrderUserID string `json:"order_user_id,omitempty"`

	// 主订单用户名称
	OrderUserName string `json:"order_user_name,omitempty"`

	// prod insts
	ProdInsts []*NewbillingProdInst `json:"prod_insts"`

	// prods
	Prods []*Newbillingprod `json:"prods"`

	// 主订单更新时间
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"update_time,omitempty"`
}

NewbillingPrdOrder 主订单

swagger:model newbillingPrdOrder

func (*NewbillingPrdOrder) ContextValidate

func (m *NewbillingPrdOrder) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling prd order based on the context it is used

func (*NewbillingPrdOrder) MarshalBinary

func (m *NewbillingPrdOrder) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPrdOrder) UnmarshalBinary

func (m *NewbillingPrdOrder) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPrdOrder) Validate

func (m *NewbillingPrdOrder) Validate(formats strfmt.Registry) error

Validate validates this newbilling prd order

type NewbillingPrepayAlipayAppRequest

type NewbillingPrepayAlipayAppRequest struct {

	// access sys id
	AccessSysID string `json:"access_sys_id,omitempty"`

	// code
	Code string `json:"code,omitempty"`
}

NewbillingPrepayAlipayAppRequest newbilling prepay alipay app request

swagger:model newbillingPrepayAlipayAppRequest

func (*NewbillingPrepayAlipayAppRequest) ContextValidate

func (m *NewbillingPrepayAlipayAppRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling prepay alipay app request based on context it is used

func (*NewbillingPrepayAlipayAppRequest) MarshalBinary

func (m *NewbillingPrepayAlipayAppRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPrepayAlipayAppRequest) UnmarshalBinary

func (m *NewbillingPrepayAlipayAppRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPrepayAlipayAppRequest) Validate

Validate validates this newbilling prepay alipay app request

type NewbillingPrepayAlipayAppResponse

type NewbillingPrepayAlipayAppResponse struct {

	// pay url
	PayURL string `json:"pay_url,omitempty"`
}

NewbillingPrepayAlipayAppResponse newbilling prepay alipay app response

swagger:model newbillingPrepayAlipayAppResponse

func (*NewbillingPrepayAlipayAppResponse) ContextValidate

func (m *NewbillingPrepayAlipayAppResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling prepay alipay app response based on context it is used

func (*NewbillingPrepayAlipayAppResponse) MarshalBinary

func (m *NewbillingPrepayAlipayAppResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPrepayAlipayAppResponse) UnmarshalBinary

func (m *NewbillingPrepayAlipayAppResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPrepayAlipayAppResponse) Validate

Validate validates this newbilling prepay alipay app response

type NewbillingPrepayAlipayNativeRequest

type NewbillingPrepayAlipayNativeRequest struct {

	// access sys id
	AccessSysID string `json:"access_sys_id,omitempty"`

	// code
	Code string `json:"code,omitempty"`
}

NewbillingPrepayAlipayNativeRequest newbilling prepay alipay native request

swagger:model newbillingPrepayAlipayNativeRequest

func (*NewbillingPrepayAlipayNativeRequest) ContextValidate

func (m *NewbillingPrepayAlipayNativeRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling prepay alipay native request based on context it is used

func (*NewbillingPrepayAlipayNativeRequest) MarshalBinary

func (m *NewbillingPrepayAlipayNativeRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPrepayAlipayNativeRequest) UnmarshalBinary

func (m *NewbillingPrepayAlipayNativeRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPrepayAlipayNativeRequest) Validate

Validate validates this newbilling prepay alipay native request

type NewbillingPrepayAlipayNativeResponse

type NewbillingPrepayAlipayNativeResponse struct {

	// code url
	CodeURL string `json:"code_url,omitempty"`
}

NewbillingPrepayAlipayNativeResponse newbilling prepay alipay native response

swagger:model newbillingPrepayAlipayNativeResponse

func (*NewbillingPrepayAlipayNativeResponse) ContextValidate

func (m *NewbillingPrepayAlipayNativeResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling prepay alipay native response based on context it is used

func (*NewbillingPrepayAlipayNativeResponse) MarshalBinary

func (m *NewbillingPrepayAlipayNativeResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPrepayAlipayNativeResponse) UnmarshalBinary

func (m *NewbillingPrepayAlipayNativeResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPrepayAlipayNativeResponse) Validate

Validate validates this newbilling prepay alipay native response

type NewbillingPrepayStripeRequest

type NewbillingPrepayStripeRequest struct {

	// access sys id
	AccessSysID string `json:"access_sys_id,omitempty"`

	// code
	Code string `json:"code,omitempty"`
}

NewbillingPrepayStripeRequest newbilling prepay stripe request

swagger:model newbillingPrepayStripeRequest

func (*NewbillingPrepayStripeRequest) ContextValidate

func (m *NewbillingPrepayStripeRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling prepay stripe request based on context it is used

func (*NewbillingPrepayStripeRequest) MarshalBinary

func (m *NewbillingPrepayStripeRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPrepayStripeRequest) UnmarshalBinary

func (m *NewbillingPrepayStripeRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPrepayStripeRequest) Validate

func (m *NewbillingPrepayStripeRequest) Validate(formats strfmt.Registry) error

Validate validates this newbilling prepay stripe request

type NewbillingPrepayStripeResponse

type NewbillingPrepayStripeResponse struct {

	// session id
	SessionID string `json:"session_id,omitempty"`
}

NewbillingPrepayStripeResponse newbilling prepay stripe response

swagger:model newbillingPrepayStripeResponse

func (*NewbillingPrepayStripeResponse) ContextValidate

func (m *NewbillingPrepayStripeResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling prepay stripe response based on context it is used

func (*NewbillingPrepayStripeResponse) MarshalBinary

func (m *NewbillingPrepayStripeResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPrepayStripeResponse) UnmarshalBinary

func (m *NewbillingPrepayStripeResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPrepayStripeResponse) Validate

func (m *NewbillingPrepayStripeResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling prepay stripe response

type NewbillingPrepayWxpayNativeRequest

type NewbillingPrepayWxpayNativeRequest struct {

	// access sys id
	AccessSysID string `json:"access_sys_id,omitempty"`

	// code
	Code string `json:"code,omitempty"`
}

NewbillingPrepayWxpayNativeRequest newbilling prepay wxpay native request

swagger:model newbillingPrepayWxpayNativeRequest

func (*NewbillingPrepayWxpayNativeRequest) ContextValidate

func (m *NewbillingPrepayWxpayNativeRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling prepay wxpay native request based on context it is used

func (*NewbillingPrepayWxpayNativeRequest) MarshalBinary

func (m *NewbillingPrepayWxpayNativeRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPrepayWxpayNativeRequest) UnmarshalBinary

func (m *NewbillingPrepayWxpayNativeRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPrepayWxpayNativeRequest) Validate

Validate validates this newbilling prepay wxpay native request

type NewbillingPrepayWxpayNativeResponse

type NewbillingPrepayWxpayNativeResponse struct {

	// code url
	CodeURL string `json:"code_url,omitempty"`
}

NewbillingPrepayWxpayNativeResponse newbilling prepay wxpay native response

swagger:model newbillingPrepayWxpayNativeResponse

func (*NewbillingPrepayWxpayNativeResponse) ContextValidate

func (m *NewbillingPrepayWxpayNativeResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling prepay wxpay native response based on context it is used

func (*NewbillingPrepayWxpayNativeResponse) MarshalBinary

func (m *NewbillingPrepayWxpayNativeResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPrepayWxpayNativeResponse) UnmarshalBinary

func (m *NewbillingPrepayWxpayNativeResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPrepayWxpayNativeResponse) Validate

Validate validates this newbilling prepay wxpay native response

type NewbillingPricingImportResponse

type NewbillingPricingImportResponse struct {

	// cata ids
	CataIds []string `json:"cata_ids"`

	// import
	Import bool `json:"import,omitempty"`

	// prod ids
	ProdIds []string `json:"prod_ids"`
}

NewbillingPricingImportResponse newbilling pricing import response

swagger:model newbillingPricingImportResponse

func (*NewbillingPricingImportResponse) ContextValidate

func (m *NewbillingPricingImportResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling pricing import response based on context it is used

func (*NewbillingPricingImportResponse) MarshalBinary

func (m *NewbillingPricingImportResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPricingImportResponse) UnmarshalBinary

func (m *NewbillingPricingImportResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPricingImportResponse) Validate

Validate validates this newbilling pricing import response

type NewbillingPricingMigration

type NewbillingPricingMigration struct {

	// 属性
	Attrs []*NewbillingPricingMigrationAttr `json:"attrs"`

	// 分类
	Catelogs []*NewbillingPricingMigrationCataLog `json:"catelogs"`

	// 计费项转换
	CompMappings []*NewbillingPricingMigrationCompMapping `json:"comp_mappings"`

	// 计费项
	Components []*NewbillingPricingMigrationComponent `json:"components"`

	// 过滤条件
	Filters []*NewbillingPricingMigrationFilter `json:"filters"`

	// 计费方案
	Plans []*NewbillingPricingMigrationPlan `json:"plans"`

	// 产品
	Products []*NewbillingPricingMigrationProduct `json:"products"`

	// 策略
	Strategies []*NewbillingPricingMigrationStrategy `json:"strategies"`
}

NewbillingPricingMigration 导入导出数据共用消息体

swagger:model newbillingPricingMigration

func (*NewbillingPricingMigration) ContextValidate

func (m *NewbillingPricingMigration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling pricing migration based on the context it is used

func (*NewbillingPricingMigration) MarshalBinary

func (m *NewbillingPricingMigration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPricingMigration) UnmarshalBinary

func (m *NewbillingPricingMigration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPricingMigration) Validate

func (m *NewbillingPricingMigration) Validate(formats strfmt.Registry) error

Validate validates this newbilling pricing migration

type NewbillingPricingMigrationAttr

type NewbillingPricingMigrationAttr struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 属性Code
	AttrCode string `json:"attr_code,omitempty"`

	// 属性ID
	AttrID string `json:"attr_id,omitempty"`

	// 属性说明
	Description string `json:"description,omitempty"`

	// 该属性是否需要计量
	IsNeedMeter int64 `json:"is_need_meter,omitempty"`

	// 属性名称
	Name string `json:"name,omitempty"`

	// 产品ID
	ProdID string `json:"prod_id,omitempty"`

	// 属性单位
	Unit string `json:"unit,omitempty"`

	// 属性值类型
	ValueType string `json:"value_type,omitempty"`
}

NewbillingPricingMigrationAttr newbilling pricing migration attr

swagger:model newbillingPricingMigrationAttr

func (*NewbillingPricingMigrationAttr) ContextValidate

func (m *NewbillingPricingMigrationAttr) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling pricing migration attr based on context it is used

func (*NewbillingPricingMigrationAttr) MarshalBinary

func (m *NewbillingPricingMigrationAttr) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPricingMigrationAttr) UnmarshalBinary

func (m *NewbillingPricingMigrationAttr) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPricingMigrationAttr) Validate

func (m *NewbillingPricingMigrationAttr) Validate(formats strfmt.Registry) error

Validate validates this newbilling pricing migration attr

type NewbillingPricingMigrationCataLog

type NewbillingPricingMigrationCataLog struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 分类Code
	CataCode string `json:"cata_code,omitempty"`

	// 分类ID
	CataID string `json:"cata_id,omitempty"`

	// 分类层级
	Level int64 `json:"level,omitempty"`

	// 分类名称
	Name string `json:"name,omitempty"`

	// 父级分类ID
	ParentCateID string `json:"parent_cate_id,omitempty"`
}

NewbillingPricingMigrationCataLog newbilling pricing migration cata log

swagger:model newbillingPricingMigrationCataLog

func (*NewbillingPricingMigrationCataLog) ContextValidate

func (m *NewbillingPricingMigrationCataLog) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling pricing migration cata log based on context it is used

func (*NewbillingPricingMigrationCataLog) MarshalBinary

func (m *NewbillingPricingMigrationCataLog) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPricingMigrationCataLog) UnmarshalBinary

func (m *NewbillingPricingMigrationCataLog) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPricingMigrationCataLog) Validate

Validate validates this newbilling pricing migration cata log

type NewbillingPricingMigrationCompMapping

type NewbillingPricingMigrationCompMapping struct {

	// 计费项ID
	CompID string `json:"comp_id,omitempty"`

	// 关联计费项ID
	MappingCompID string `json:"mapping_comp_id,omitempty"`
}

NewbillingPricingMigrationCompMapping newbilling pricing migration comp mapping

swagger:model newbillingPricingMigrationCompMapping

func (*NewbillingPricingMigrationCompMapping) ContextValidate

func (m *NewbillingPricingMigrationCompMapping) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling pricing migration comp mapping based on context it is used

func (*NewbillingPricingMigrationCompMapping) MarshalBinary

func (m *NewbillingPricingMigrationCompMapping) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPricingMigrationCompMapping) UnmarshalBinary

func (m *NewbillingPricingMigrationCompMapping) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPricingMigrationCompMapping) Validate

Validate validates this newbilling pricing migration comp mapping

type NewbillingPricingMigrationComponent

type NewbillingPricingMigrationComponent struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 计费模式
	BillingMode string `json:"billing_mode,omitempty"`

	// 计费项Code
	CompCode string `json:"comp_code,omitempty"`

	// 计费项ID
	CompID string `json:"comp_id,omitempty"`

	// 计费项说明
	Description string `json:"description,omitempty"`

	// 计费项名称
	Name string `json:"name,omitempty"`

	// 计费方案ID
	PlanID string `json:"plan_id,omitempty"`

	// 产品ID
	ProdID string `json:"prod_id,omitempty"`
}

NewbillingPricingMigrationComponent newbilling pricing migration component

swagger:model newbillingPricingMigrationComponent

func (*NewbillingPricingMigrationComponent) ContextValidate

func (m *NewbillingPricingMigrationComponent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling pricing migration component based on context it is used

func (*NewbillingPricingMigrationComponent) MarshalBinary

func (m *NewbillingPricingMigrationComponent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPricingMigrationComponent) UnmarshalBinary

func (m *NewbillingPricingMigrationComponent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPricingMigrationComponent) Validate

Validate validates this newbilling pricing migration component

type NewbillingPricingMigrationFilter

type NewbillingPricingMigrationFilter struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 条件描述
	Description string `json:"description,omitempty"`

	// 条件编码
	FilterCode string `json:"filter_code,omitempty"`

	// 条件ID
	FilterID string `json:"filter_id,omitempty"`

	// 条件左值
	LeftValue string `json:"left_value,omitempty"`

	// 条件名称
	Name string `json:"name,omitempty"`

	// 条件操作符
	Operator string `json:"operator,omitempty"`

	// 产品ID
	ProdID string `json:"prod_id,omitempty"`

	// 条件备注
	Remark string `json:"remark,omitempty"`

	// 条件右值
	RightValue string `json:"right_value,omitempty"`
}

NewbillingPricingMigrationFilter newbilling pricing migration filter

swagger:model newbillingPricingMigrationFilter

func (*NewbillingPricingMigrationFilter) ContextValidate

func (m *NewbillingPricingMigrationFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling pricing migration filter based on context it is used

func (*NewbillingPricingMigrationFilter) MarshalBinary

func (m *NewbillingPricingMigrationFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPricingMigrationFilter) UnmarshalBinary

func (m *NewbillingPricingMigrationFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPricingMigrationFilter) Validate

Validate validates this newbilling pricing migration filter

type NewbillingPricingMigrationPlan

type NewbillingPricingMigrationPlan struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 计费项说明
	Description string `json:"description,omitempty"`

	// 计费项Code
	PlanCode string `json:"plan_code,omitempty"`

	// 计费项ID
	PlanID string `json:"plan_id,omitempty"`

	// 计费项名称
	PlanName string `json:"plan_name,omitempty"`

	// pricing method
	PricingMethod string `json:"pricing_method,omitempty"`

	// 产品ID
	ProdID string `json:"prod_id,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// status time
	// Format: date-time
	StatusTime *strfmt.DateTime `json:"status_time,omitempty"`
}

NewbillingPricingMigrationPlan newbilling pricing migration plan

swagger:model newbillingPricingMigrationPlan

func (*NewbillingPricingMigrationPlan) ContextValidate

func (m *NewbillingPricingMigrationPlan) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling pricing migration plan based on context it is used

func (*NewbillingPricingMigrationPlan) MarshalBinary

func (m *NewbillingPricingMigrationPlan) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPricingMigrationPlan) UnmarshalBinary

func (m *NewbillingPricingMigrationPlan) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPricingMigrationPlan) Validate

func (m *NewbillingPricingMigrationPlan) Validate(formats strfmt.Registry) error

Validate validates this newbilling pricing migration plan

type NewbillingPricingMigrationProduct

type NewbillingPricingMigrationProduct struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 产品目录ID
	CataID string `json:"cata_id,omitempty"`

	// 产品描述
	Description string `json:"description,omitempty"`

	// 产品生效时间
	// Format: date-time
	EffectiveTime *strfmt.DateTime `json:"effective_time,omitempty"`

	// 产品失效时间
	// Format: date-time
	ExpirationTime *strfmt.DateTime `json:"expiration_time,omitempty"`

	// 产品名称
	Name string `json:"name,omitempty"`

	// 产品编码
	ProdCode string `json:"prod_code,omitempty"`

	// 产品id
	ProdID string `json:"prod_id,omitempty"`

	// 产品备注
	Remark string `json:"remark,omitempty"`
}

NewbillingPricingMigrationProduct newbilling pricing migration product

swagger:model newbillingPricingMigrationProduct

func (*NewbillingPricingMigrationProduct) ContextValidate

func (m *NewbillingPricingMigrationProduct) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling pricing migration product based on context it is used

func (*NewbillingPricingMigrationProduct) MarshalBinary

func (m *NewbillingPricingMigrationProduct) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPricingMigrationProduct) UnmarshalBinary

func (m *NewbillingPricingMigrationProduct) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPricingMigrationProduct) Validate

Validate validates this newbilling pricing migration product

type NewbillingPricingMigrationStrategy

type NewbillingPricingMigrationStrategy struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 基础折扣
	BasicDiscount float32 `json:"basic_discount,omitempty"`

	// 计费项ID
	CompID string `json:"comp_id,omitempty"`

	// 计费表达式
	CostExpression string `json:"cost_expression,omitempty"`

	// 条件表达式
	FilterExpression string `json:"filter_expression,omitempty"`

	// 策略名称
	Name string `json:"name,omitempty"`

	// 产品ID
	ProdID string `json:"prod_id,omitempty"`

	// 备注
	Remark string `json:"remark,omitempty"`

	// 策略code
	StrategyCode string `json:"strategy_code,omitempty"`

	// 策略ID
	StrategyID string `json:"strategy_id,omitempty"`
}

NewbillingPricingMigrationStrategy newbilling pricing migration strategy

swagger:model newbillingPricingMigrationStrategy

func (*NewbillingPricingMigrationStrategy) ContextValidate

func (m *NewbillingPricingMigrationStrategy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling pricing migration strategy based on context it is used

func (*NewbillingPricingMigrationStrategy) MarshalBinary

func (m *NewbillingPricingMigrationStrategy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPricingMigrationStrategy) UnmarshalBinary

func (m *NewbillingPricingMigrationStrategy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPricingMigrationStrategy) Validate

Validate validates this newbilling pricing migration strategy

type NewbillingProcessPackageSubscriptionResponse

type NewbillingProcessPackageSubscriptionResponse interface{}

NewbillingProcessPackageSubscriptionResponse newbilling process package subscription response

swagger:model newbillingProcessPackageSubscriptionResponse

type NewbillingProdCode

type NewbillingProdCode struct {

	// plan codes
	PlanCodes []*NewbillingPlanCode `json:"plan_codes"`

	// prod code
	ProdCode string `json:"prod_code,omitempty"`
}

NewbillingProdCode newbilling prod code

swagger:model newbillingProdCode

func (*NewbillingProdCode) ContextValidate

func (m *NewbillingProdCode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling prod code based on the context it is used

func (*NewbillingProdCode) MarshalBinary

func (m *NewbillingProdCode) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingProdCode) UnmarshalBinary

func (m *NewbillingProdCode) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingProdCode) Validate

func (m *NewbillingProdCode) Validate(formats strfmt.Registry) error

Validate validates this newbilling prod code

type NewbillingProdIDAndCode

type NewbillingProdIDAndCode struct {

	// code
	Code string `json:"code,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// plans
	Plans []*NewbillingPlanIDAndCode `json:"plans"`
}

NewbillingProdIDAndCode newbilling prod Id and code

swagger:model newbillingProdIdAndCode

func (*NewbillingProdIDAndCode) ContextValidate

func (m *NewbillingProdIDAndCode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling prod Id and code based on the context it is used

func (*NewbillingProdIDAndCode) MarshalBinary

func (m *NewbillingProdIDAndCode) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingProdIDAndCode) UnmarshalBinary

func (m *NewbillingProdIDAndCode) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingProdIDAndCode) Validate

func (m *NewbillingProdIDAndCode) Validate(formats strfmt.Registry) error

Validate validates this newbilling prod Id and code

type NewbillingProdInst

type NewbillingProdInst struct {

	// 产品实例ID
	ProdInstID string `json:"prod_inst_id,omitempty"`

	// 外部产品实例ID
	ProdInstIDExt string `json:"prod_inst_id_ext,omitempty"`

	// 产品实例状态
	Status string `json:"status,omitempty"`
}

NewbillingProdInst newbilling prod inst

swagger:model newbillingProdInst

func (*NewbillingProdInst) ContextValidate

func (m *NewbillingProdInst) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling prod inst based on context it is used

func (*NewbillingProdInst) MarshalBinary

func (m *NewbillingProdInst) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingProdInst) UnmarshalBinary

func (m *NewbillingProdInst) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingProdInst) Validate

func (m *NewbillingProdInst) Validate(formats strfmt.Registry) error

Validate validates this newbilling prod inst

type NewbillingProdInstance

type NewbillingProdInstance struct {

	// 应付金额
	AmountPayable float32 `json:"amount_payable,omitempty"`

	// 原价
	Cost float32 `json:"cost,omitempty"`

	// 产品实例创建时间
	// Format: date-time
	CreateTime *strfmt.DateTime `json:"create_time,omitempty"`

	// 是否自动续费
	IsAutoRenew int32 `json:"is_auto_renew,omitempty"`

	// 订单ID
	OrderID string `json:"order_id,omitempty"`

	// 计费方案ID
	PlanID string `json:"plan_id,omitempty"`

	// 产品ID
	ProdID string `json:"prod_id,omitempty"`

	// 产品实例ID
	ProdInstID string `json:"prod_inst_id,omitempty"`

	// 外部产品实例ID
	ProdInstIDExt string `json:"prod_inst_id_ext,omitempty"`

	// 产品名称
	ProdName string `json:"prod_name,omitempty"`

	// 到期自动续费时长
	RenewDuration string `json:"renew_duration,omitempty"`

	// 产品实例状态
	Status string `json:"status,omitempty"`

	// 产品实例更新时间
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"update_time,omitempty"`
}

NewbillingProdInstance 产品实例

swagger:model newbillingProdInstance

func (*NewbillingProdInstance) ContextValidate

func (m *NewbillingProdInstance) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling prod instance based on context it is used

func (*NewbillingProdInstance) MarshalBinary

func (m *NewbillingProdInstance) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingProdInstance) UnmarshalBinary

func (m *NewbillingProdInstance) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingProdInstance) Validate

func (m *NewbillingProdInstance) Validate(formats strfmt.Registry) error

Validate validates this newbilling prod instance

type NewbillingProdInstanceExt

type NewbillingProdInstanceExt struct {

	// 产品实例ID
	ID string `json:"id,omitempty"`

	// 是否自动续订- 0:否,1:是
	IsAutoRenew int32 `json:"is_auto_renew,omitempty"`
}

NewbillingProdInstanceExt 产品实例信息

swagger:model newbillingProdInstanceExt

func (*NewbillingProdInstanceExt) ContextValidate

func (m *NewbillingProdInstanceExt) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling prod instance ext based on context it is used

func (*NewbillingProdInstanceExt) MarshalBinary

func (m *NewbillingProdInstanceExt) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingProdInstanceExt) UnmarshalBinary

func (m *NewbillingProdInstanceExt) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingProdInstanceExt) Validate

func (m *NewbillingProdInstanceExt) Validate(formats strfmt.Registry) error

Validate validates this newbilling prod instance ext

type NewbillingProduct

type NewbillingProduct struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 产品目录ID
	CataID string `json:"cata_id,omitempty"`

	// 创建时间
	// Format: date-time
	CreateTime *strfmt.DateTime `json:"create_time,omitempty"`

	// 产品描述
	Description string `json:"description,omitempty"`

	// 生效时间
	// Format: date-time
	EffectiveTime *strfmt.DateTime `json:"effective_time,omitempty"`

	// 失效时间
	// Format: date-time
	ExpirationTime *strfmt.DateTime `json:"expiration_time,omitempty"`

	// 产品名称
	Name string `json:"name,omitempty"`

	// 产品编码
	ProdCode string `json:"prod_code,omitempty"`

	// 产品ID
	ProdID string `json:"prod_id,omitempty"`

	// 备注
	Remark string `json:"remark,omitempty"`

	// 更新时间
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"update_time,omitempty"`
}

NewbillingProduct 产品

swagger:model newbillingProduct

func (*NewbillingProduct) ContextValidate

func (m *NewbillingProduct) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling product based on context it is used

func (*NewbillingProduct) MarshalBinary

func (m *NewbillingProduct) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingProduct) UnmarshalBinary

func (m *NewbillingProduct) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingProduct) Validate

func (m *NewbillingProduct) Validate(formats strfmt.Registry) error

Validate validates this newbilling product

type NewbillingPubAttrFilterID

type NewbillingPubAttrFilterID struct {

	// filter id
	FilterID string `json:"filter_id,omitempty"`
}

NewbillingPubAttrFilterID newbilling pub attr filter Id

swagger:model newbillingPubAttrFilterId

func (*NewbillingPubAttrFilterID) ContextValidate

func (m *NewbillingPubAttrFilterID) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling pub attr filter Id based on context it is used

func (*NewbillingPubAttrFilterID) MarshalBinary

func (m *NewbillingPubAttrFilterID) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPubAttrFilterID) UnmarshalBinary

func (m *NewbillingPubAttrFilterID) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPubAttrFilterID) Validate

func (m *NewbillingPubAttrFilterID) Validate(formats strfmt.Registry) error

Validate validates this newbilling pub attr filter Id

type NewbillingPublicAttribute

type NewbillingPublicAttribute struct {

	// billing mode
	BillingMode string `json:"billing_mode,omitempty"`

	// create time
	// Format: date-time
	CreateTime *strfmt.DateTime `json:"create_time,omitempty"`

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

	// name
	Name string `json:"name,omitempty"`

	// public attr id
	PublicAttrID string `json:"public_attr_id,omitempty"`

	// unit
	Unit string `json:"unit,omitempty"`

	// update time
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"update_time,omitempty"`

	// value type
	ValueType string `json:"value_type,omitempty"`
}

NewbillingPublicAttribute newbilling public attribute

swagger:model newbillingPublicAttribute

func (*NewbillingPublicAttribute) ContextValidate

func (m *NewbillingPublicAttribute) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling public attribute based on context it is used

func (*NewbillingPublicAttribute) MarshalBinary

func (m *NewbillingPublicAttribute) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPublicAttribute) UnmarshalBinary

func (m *NewbillingPublicAttribute) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPublicAttribute) Validate

func (m *NewbillingPublicAttribute) Validate(formats strfmt.Registry) error

Validate validates this newbilling public attribute

type NewbillingPullCollectDataResponse

type NewbillingPullCollectDataResponse interface{}

NewbillingPullCollectDataResponse newbilling pull collect data response

swagger:model newbillingPullCollectDataResponse

type NewbillingPushCollectDataEvent

type NewbillingPushCollectDataEvent struct {

	// 计量属性值
	CollectDataSet []*NewbillingPushCollectDataEventCollectData `json:"collect_data_set"`

	// 采集事件ID
	CollectEventID string `json:"collect_event_id,omitempty"`

	// 结束时间
	// Format: date-time
	EndTime *strfmt.DateTime `json:"end_time,omitempty"`

	// 产品ID
	ProdID string `json:"prod_id,omitempty"`

	// 资源ID
	ProdInstIDExt string `json:"prod_inst_id_ext,omitempty"`

	// 事件触发扣费结果code,0=触发扣费成功 其它code=触发code失败
	ResultCode string `json:"result_code,omitempty"`

	// 非0code 失败原因
	ResultMsg string `json:"result_msg,omitempty"`

	// 开始时间
	// Format: date-time
	StartTime *strfmt.DateTime `json:"start_time,omitempty"`
}

NewbillingPushCollectDataEvent newbilling push collect data event

swagger:model newbillingPushCollectDataEvent

func (*NewbillingPushCollectDataEvent) ContextValidate

func (m *NewbillingPushCollectDataEvent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling push collect data event based on the context it is used

func (*NewbillingPushCollectDataEvent) MarshalBinary

func (m *NewbillingPushCollectDataEvent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPushCollectDataEvent) UnmarshalBinary

func (m *NewbillingPushCollectDataEvent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPushCollectDataEvent) Validate

func (m *NewbillingPushCollectDataEvent) Validate(formats strfmt.Registry) error

Validate validates this newbilling push collect data event

type NewbillingPushCollectDataEventCollectData

type NewbillingPushCollectDataEventCollectData struct {

	// 计量指标属性code
	AttrCode string `json:"attr_code,omitempty"`

	// 计量值
	AttrValue float32 `json:"attr_value,omitempty"`
}

NewbillingPushCollectDataEventCollectData newbilling push collect data event collect data

swagger:model newbillingPushCollectDataEventCollectData

func (*NewbillingPushCollectDataEventCollectData) ContextValidate

ContextValidate validates this newbilling push collect data event collect data based on context it is used

func (*NewbillingPushCollectDataEventCollectData) MarshalBinary

func (m *NewbillingPushCollectDataEventCollectData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPushCollectDataEventCollectData) UnmarshalBinary

func (m *NewbillingPushCollectDataEventCollectData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPushCollectDataEventCollectData) Validate

Validate validates this newbilling push collect data event collect data

type NewbillingPushCollectDataRequest

type NewbillingPushCollectDataRequest struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// events
	Events []*NewbillingPushCollectDataEvent `json:"events"`
}

NewbillingPushCollectDataRequest 计量推送

swagger:model newbillingPushCollectDataRequest

func (*NewbillingPushCollectDataRequest) ContextValidate

func (m *NewbillingPushCollectDataRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling push collect data request based on the context it is used

func (*NewbillingPushCollectDataRequest) MarshalBinary

func (m *NewbillingPushCollectDataRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPushCollectDataRequest) UnmarshalBinary

func (m *NewbillingPushCollectDataRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPushCollectDataRequest) Validate

Validate validates this newbilling push collect data request

type NewbillingPushCollectDataResponse

type NewbillingPushCollectDataResponse struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// events
	Events []*NewbillingPushCollectDataEvent `json:"events"`
}

NewbillingPushCollectDataResponse newbilling push collect data response

swagger:model newbillingPushCollectDataResponse

func (*NewbillingPushCollectDataResponse) ContextValidate

func (m *NewbillingPushCollectDataResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling push collect data response based on the context it is used

func (*NewbillingPushCollectDataResponse) MarshalBinary

func (m *NewbillingPushCollectDataResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingPushCollectDataResponse) UnmarshalBinary

func (m *NewbillingPushCollectDataResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingPushCollectDataResponse) Validate

Validate validates this newbilling push collect data response

type NewbillingRecoverProdInstanceRequest

type NewbillingRecoverProdInstanceRequest struct {

	// force charge
	ForceCharge bool `json:"force_charge,omitempty"`

	// 产品实例ID
	ProdInstIDExt string `json:"prod_inst_id_ext,omitempty"`
}

NewbillingRecoverProdInstanceRequest 停止产品实例计费请求信息

swagger:model newbillingRecoverProdInstanceRequest

func (*NewbillingRecoverProdInstanceRequest) ContextValidate

func (m *NewbillingRecoverProdInstanceRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling recover prod instance request based on context it is used

func (*NewbillingRecoverProdInstanceRequest) MarshalBinary

func (m *NewbillingRecoverProdInstanceRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingRecoverProdInstanceRequest) UnmarshalBinary

func (m *NewbillingRecoverProdInstanceRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingRecoverProdInstanceRequest) Validate

Validate validates this newbilling recover prod instance request

type NewbillingRecoverProdInstanceResponse

type NewbillingRecoverProdInstanceResponse struct {

	// 产品实例ID
	ProdInstIDExt string `json:"prod_inst_id_ext,omitempty"`
}

NewbillingRecoverProdInstanceResponse 停止产品实例返回信息

swagger:model newbillingRecoverProdInstanceResponse

func (*NewbillingRecoverProdInstanceResponse) ContextValidate

func (m *NewbillingRecoverProdInstanceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling recover prod instance response based on context it is used

func (*NewbillingRecoverProdInstanceResponse) MarshalBinary

func (m *NewbillingRecoverProdInstanceResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingRecoverProdInstanceResponse) UnmarshalBinary

func (m *NewbillingRecoverProdInstanceResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingRecoverProdInstanceResponse) Validate

Validate validates this newbilling recover prod instance response

type NewbillingRefreshOpenAPITokenRequest

type NewbillingRefreshOpenAPITokenRequest struct {

	// access sys id
	AccessSysID string `json:"access_sys_id,omitempty"`

	// email
	Email string `json:"email,omitempty"`

	// passwd
	Passwd string `json:"passwd,omitempty"`

	// roundup
	Roundup string `json:"roundup,omitempty"`

	// token
	Token string `json:"token,omitempty"`
}

NewbillingRefreshOpenAPITokenRequest newbilling refresh open Api token request

swagger:model newbillingRefreshOpenApiTokenRequest

func (*NewbillingRefreshOpenAPITokenRequest) ContextValidate

func (m *NewbillingRefreshOpenAPITokenRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling refresh open Api token request based on context it is used

func (*NewbillingRefreshOpenAPITokenRequest) MarshalBinary

func (m *NewbillingRefreshOpenAPITokenRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingRefreshOpenAPITokenRequest) UnmarshalBinary

func (m *NewbillingRefreshOpenAPITokenRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingRefreshOpenAPITokenRequest) Validate

Validate validates this newbilling refresh open Api token request

type NewbillingRefreshOpenAPITokenResponse

type NewbillingRefreshOpenAPITokenResponse struct {

	// roundup
	Roundup string `json:"roundup,omitempty"`

	// token
	Token string `json:"token,omitempty"`
}

NewbillingRefreshOpenAPITokenResponse newbilling refresh open Api token response

swagger:model newbillingRefreshOpenApiTokenResponse

func (*NewbillingRefreshOpenAPITokenResponse) ContextValidate

func (m *NewbillingRefreshOpenAPITokenResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling refresh open Api token response based on context it is used

func (*NewbillingRefreshOpenAPITokenResponse) MarshalBinary

func (m *NewbillingRefreshOpenAPITokenResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingRefreshOpenAPITokenResponse) UnmarshalBinary

func (m *NewbillingRefreshOpenAPITokenResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingRefreshOpenAPITokenResponse) Validate

Validate validates this newbilling refresh open Api token response

type NewbillingRefreshOpenTokenRequest

type NewbillingRefreshOpenTokenRequest struct {

	// 接入系统编码
	AccessSysID string `json:"access_sys_id,omitempty"`

	// action
	Action string `json:"action,omitempty"`

	// expires
	Expires string `json:"expires,omitempty"`

	// open name
	OpenName string `json:"open_name,omitempty"`

	// signature
	Signature string `json:"signature,omitempty"`

	// 用户ID
	UserID string `json:"user_id,omitempty"`
}

NewbillingRefreshOpenTokenRequest newbilling refresh open token request

swagger:model newbillingRefreshOpenTokenRequest

func (*NewbillingRefreshOpenTokenRequest) ContextValidate

func (m *NewbillingRefreshOpenTokenRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling refresh open token request based on context it is used

func (*NewbillingRefreshOpenTokenRequest) MarshalBinary

func (m *NewbillingRefreshOpenTokenRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingRefreshOpenTokenRequest) UnmarshalBinary

func (m *NewbillingRefreshOpenTokenRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingRefreshOpenTokenRequest) Validate

Validate validates this newbilling refresh open token request

type NewbillingRefreshOpenTokenResponse

type NewbillingRefreshOpenTokenResponse struct {

	// roundup
	Roundup string `json:"roundup,omitempty"`

	// token
	Token string `json:"token,omitempty"`
}

NewbillingRefreshOpenTokenResponse newbilling refresh open token response

swagger:model newbillingRefreshOpenTokenResponse

func (*NewbillingRefreshOpenTokenResponse) ContextValidate

func (m *NewbillingRefreshOpenTokenResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling refresh open token response based on context it is used

func (*NewbillingRefreshOpenTokenResponse) MarshalBinary

func (m *NewbillingRefreshOpenTokenResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingRefreshOpenTokenResponse) UnmarshalBinary

func (m *NewbillingRefreshOpenTokenResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingRefreshOpenTokenResponse) Validate

Validate validates this newbilling refresh open token response

type NewbillingRefreshTokenRequest

type NewbillingRefreshTokenRequest struct {

	// 接入平台ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 要刷新的TOKEN
	Token string `json:"token,omitempty"`

	// 用户ID
	UserID string `json:"user_id,omitempty"`
}

NewbillingRefreshTokenRequest 刷新TOKEN请求信息

swagger:model newbillingRefreshTokenRequest

func (*NewbillingRefreshTokenRequest) ContextValidate

func (m *NewbillingRefreshTokenRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling refresh token request based on context it is used

func (*NewbillingRefreshTokenRequest) MarshalBinary

func (m *NewbillingRefreshTokenRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingRefreshTokenRequest) UnmarshalBinary

func (m *NewbillingRefreshTokenRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingRefreshTokenRequest) Validate

func (m *NewbillingRefreshTokenRequest) Validate(formats strfmt.Registry) error

Validate validates this newbilling refresh token request

type NewbillingRefreshTokenResponse

type NewbillingRefreshTokenResponse struct {

	// 返回刷新后的TOKEN
	Token string `json:"token,omitempty"`
}

NewbillingRefreshTokenResponse 刷新TOKEN返回信息

swagger:model newbillingRefreshTokenResponse

func (*NewbillingRefreshTokenResponse) ContextValidate

func (m *NewbillingRefreshTokenResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling refresh token response based on context it is used

func (*NewbillingRefreshTokenResponse) MarshalBinary

func (m *NewbillingRefreshTokenResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingRefreshTokenResponse) UnmarshalBinary

func (m *NewbillingRefreshTokenResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingRefreshTokenResponse) Validate

func (m *NewbillingRefreshTokenResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling refresh token response

type NewbillingRefundCustResourceBillResponse

type NewbillingRefundCustResourceBillResponse struct {

	// ok
	Ok bool `json:"ok,omitempty"`
}

NewbillingRefundCustResourceBillResponse newbilling refund cust resource bill response

swagger:model newbillingRefundCustResourceBillResponse

func (*NewbillingRefundCustResourceBillResponse) ContextValidate

ContextValidate validates this newbilling refund cust resource bill response based on context it is used

func (*NewbillingRefundCustResourceBillResponse) MarshalBinary

func (m *NewbillingRefundCustResourceBillResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingRefundCustResourceBillResponse) UnmarshalBinary

func (m *NewbillingRefundCustResourceBillResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingRefundCustResourceBillResponse) Validate

Validate validates this newbilling refund cust resource bill response

type NewbillingRefundCustomerResourceRequest

type NewbillingRefundCustomerResourceRequest struct {

	// 资源包ID
	CrID string `json:"cr_id,omitempty"`

	// customer id
	CustomerID string `json:"customer_id,omitempty"`
}

NewbillingRefundCustomerResourceRequest newbilling refund customer resource request

swagger:model newbillingRefundCustomerResourceRequest

func (*NewbillingRefundCustomerResourceRequest) ContextValidate

ContextValidate validates this newbilling refund customer resource request based on context it is used

func (*NewbillingRefundCustomerResourceRequest) MarshalBinary

func (m *NewbillingRefundCustomerResourceRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingRefundCustomerResourceRequest) UnmarshalBinary

func (m *NewbillingRefundCustomerResourceRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingRefundCustomerResourceRequest) Validate

Validate validates this newbilling refund customer resource request

type NewbillingRefundCustomerResourceResponse

type NewbillingRefundCustomerResourceResponse struct {

	// ok
	Ok bool `json:"ok,omitempty"`
}

NewbillingRefundCustomerResourceResponse newbilling refund customer resource response

swagger:model newbillingRefundCustomerResourceResponse

func (*NewbillingRefundCustomerResourceResponse) ContextValidate

ContextValidate validates this newbilling refund customer resource response based on context it is used

func (*NewbillingRefundCustomerResourceResponse) MarshalBinary

func (m *NewbillingRefundCustomerResourceResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingRefundCustomerResourceResponse) UnmarshalBinary

func (m *NewbillingRefundCustomerResourceResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingRefundCustomerResourceResponse) Validate

Validate validates this newbilling refund customer resource response

type NewbillingRenewProdInstanceRequestRenewParams

type NewbillingRenewProdInstanceRequestRenewParams struct {

	// charge channel
	ChargeChannel string `json:"charge_channel,omitempty"`

	// duration
	Duration string `json:"duration,omitempty"`

	// extra info
	ExtraInfo string `json:"extra_info,omitempty"`

	// is order resource
	IsOrderResource bool `json:"is_order_resource,omitempty"`
}

NewbillingRenewProdInstanceRequestRenewParams newbilling renew prod instance request renew params

swagger:model newbillingRenewProdInstanceRequestRenewParams

func (*NewbillingRenewProdInstanceRequestRenewParams) ContextValidate

ContextValidate validates this newbilling renew prod instance request renew params based on context it is used

func (*NewbillingRenewProdInstanceRequestRenewParams) MarshalBinary

MarshalBinary interface implementation

func (*NewbillingRenewProdInstanceRequestRenewParams) UnmarshalBinary

UnmarshalBinary interface implementation

func (*NewbillingRenewProdInstanceRequestRenewParams) Validate

Validate validates this newbilling renew prod instance request renew params

type NewbillingRenewProdInstanceResponse

type NewbillingRenewProdInstanceResponse struct {

	// 订单应付金额
	AmountPayable float32 `json:"amount_payable,omitempty"`

	// 订单原价
	Cost float32 `json:"cost,omitempty"`

	// order id
	OrderID string `json:"order_id,omitempty"`

	// 产品实例ID
	ProdInstIDExt string `json:"prod_inst_id_ext,omitempty"`
}

NewbillingRenewProdInstanceResponse 续订产品实例返回信息

swagger:model newbillingRenewProdInstanceResponse

func (*NewbillingRenewProdInstanceResponse) ContextValidate

func (m *NewbillingRenewProdInstanceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling renew prod instance response based on context it is used

func (*NewbillingRenewProdInstanceResponse) MarshalBinary

func (m *NewbillingRenewProdInstanceResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingRenewProdInstanceResponse) UnmarshalBinary

func (m *NewbillingRenewProdInstanceResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingRenewProdInstanceResponse) Validate

Validate validates this newbilling renew prod instance response

type NewbillingRenewProdInstanceV2RequestRenewParams

type NewbillingRenewProdInstanceV2RequestRenewParams struct {

	// charge channel
	ChargeChannel string `json:"charge_channel,omitempty"`

	// component infos
	ComponentInfos []*NewbillingComponentInfo `json:"component_infos"`

	// extra info
	ExtraInfo string `json:"extra_info,omitempty"`

	// is order resource
	IsOrderResource bool `json:"is_order_resource,omitempty"`
}

NewbillingRenewProdInstanceV2RequestRenewParams newbilling renew prod instance v2 request renew params

swagger:model newbillingRenewProdInstanceV2RequestRenewParams

func (*NewbillingRenewProdInstanceV2RequestRenewParams) ContextValidate

ContextValidate validate this newbilling renew prod instance v2 request renew params based on the context it is used

func (*NewbillingRenewProdInstanceV2RequestRenewParams) MarshalBinary

MarshalBinary interface implementation

func (*NewbillingRenewProdInstanceV2RequestRenewParams) UnmarshalBinary

UnmarshalBinary interface implementation

func (*NewbillingRenewProdInstanceV2RequestRenewParams) Validate

Validate validates this newbilling renew prod instance v2 request renew params

type NewbillingRenewProdInstanceV2Response

type NewbillingRenewProdInstanceV2Response struct {

	// 订单应付金额
	AmountPayable float32 `json:"amount_payable,omitempty"`

	// 订单原价
	Cost float32 `json:"cost,omitempty"`

	// order id
	OrderID string `json:"order_id,omitempty"`

	// 产品实例ID
	ProdInstIDExt string `json:"prod_inst_id_ext,omitempty"`
}

NewbillingRenewProdInstanceV2Response 续订产品实例返回信息

swagger:model newbillingRenewProdInstanceV2Response

func (*NewbillingRenewProdInstanceV2Response) ContextValidate

func (m *NewbillingRenewProdInstanceV2Response) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling renew prod instance v2 response based on context it is used

func (*NewbillingRenewProdInstanceV2Response) MarshalBinary

func (m *NewbillingRenewProdInstanceV2Response) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingRenewProdInstanceV2Response) UnmarshalBinary

func (m *NewbillingRenewProdInstanceV2Response) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingRenewProdInstanceV2Response) Validate

Validate validates this newbilling renew prod instance v2 response

type NewbillingResetPasswdRequest

type NewbillingResetPasswdRequest struct {

	// 重置密码CODE
	Code string `json:"code,omitempty"`

	// 用户邮件-帐号
	Email string `json:"email,omitempty"`

	// 用户新密码
	PasswdNew string `json:"passwd_new,omitempty"`
}

NewbillingResetPasswdRequest 重置密码请求信息

swagger:model newbillingResetPasswdRequest

func (*NewbillingResetPasswdRequest) ContextValidate

func (m *NewbillingResetPasswdRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling reset passwd request based on context it is used

func (*NewbillingResetPasswdRequest) MarshalBinary

func (m *NewbillingResetPasswdRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingResetPasswdRequest) UnmarshalBinary

func (m *NewbillingResetPasswdRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingResetPasswdRequest) Validate

func (m *NewbillingResetPasswdRequest) Validate(formats strfmt.Registry) error

Validate validates this newbilling reset passwd request

type NewbillingResetPasswdResponse

type NewbillingResetPasswdResponse struct {

	// 修改的用户ID
	UserID string `json:"user_id,omitempty"`
}

NewbillingResetPasswdResponse 重置密码返回信息

swagger:model newbillingResetPasswdResponse

func (*NewbillingResetPasswdResponse) ContextValidate

func (m *NewbillingResetPasswdResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling reset passwd response based on context it is used

func (*NewbillingResetPasswdResponse) MarshalBinary

func (m *NewbillingResetPasswdResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingResetPasswdResponse) UnmarshalBinary

func (m *NewbillingResetPasswdResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingResetPasswdResponse) Validate

func (m *NewbillingResetPasswdResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling reset passwd response

type NewbillingResetPwdSendEmailRequest

type NewbillingResetPwdSendEmailRequest struct {

	// 用户邮件地址
	Email string `json:"email,omitempty"`
}

NewbillingResetPwdSendEmailRequest 用户重置密码发送邮件请求信息

swagger:model newbillingResetPwdSendEmailRequest

func (*NewbillingResetPwdSendEmailRequest) ContextValidate

func (m *NewbillingResetPwdSendEmailRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling reset pwd send email request based on context it is used

func (*NewbillingResetPwdSendEmailRequest) MarshalBinary

func (m *NewbillingResetPwdSendEmailRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingResetPwdSendEmailRequest) UnmarshalBinary

func (m *NewbillingResetPwdSendEmailRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingResetPwdSendEmailRequest) Validate

Validate validates this newbilling reset pwd send email request

type NewbillingResetPwdSendEmailResponse

type NewbillingResetPwdSendEmailResponse struct {

	// 用户重置密码CODE
	Code string `json:"code,omitempty"`

	// 是否发送成功
	Ok bool `json:"ok,omitempty"`
}

NewbillingResetPwdSendEmailResponse 用户重置密码发送邮件响应信息

swagger:model newbillingResetPwdSendEmailResponse

func (*NewbillingResetPwdSendEmailResponse) ContextValidate

func (m *NewbillingResetPwdSendEmailResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling reset pwd send email response based on context it is used

func (*NewbillingResetPwdSendEmailResponse) MarshalBinary

func (m *NewbillingResetPwdSendEmailResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingResetPwdSendEmailResponse) UnmarshalBinary

func (m *NewbillingResetPwdSendEmailResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingResetPwdSendEmailResponse) Validate

Validate validates this newbilling reset pwd send email response

type NewbillingResourcePackageOrderChargedCallbackResponse

type NewbillingResourcePackageOrderChargedCallbackResponse interface{}

NewbillingResourcePackageOrderChargedCallbackResponse newbilling resource package order charged callback response

swagger:model newbillingResourcePackageOrderChargedCallbackResponse

type NewbillingResourcePackageOrderProduct

type NewbillingResourcePackageOrderProduct struct {

	// 计费方案
	Plan *NewbillingPlanWithAttrsV2 `json:"plan,omitempty"`

	// 产品ID
	ProdID string `json:"prod_id,omitempty"`

	// 产品名称
	ProdName string `json:"prod_name,omitempty"`
}

NewbillingResourcePackageOrderProduct newbilling resource package order product

swagger:model newbillingResourcePackageOrderProduct

func (*NewbillingResourcePackageOrderProduct) ContextValidate

func (m *NewbillingResourcePackageOrderProduct) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling resource package order product based on the context it is used

func (*NewbillingResourcePackageOrderProduct) MarshalBinary

func (m *NewbillingResourcePackageOrderProduct) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingResourcePackageOrderProduct) UnmarshalBinary

func (m *NewbillingResourcePackageOrderProduct) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingResourcePackageOrderProduct) Validate

Validate validates this newbilling resource package order product

type NewbillingResumeProdInstanceResponse

type NewbillingResumeProdInstanceResponse struct {

	// 【接入系统产品实例ID】
	ProdInstIDExt string `json:"prod_inst_id_ext,omitempty"`
}

NewbillingResumeProdInstanceResponse 【恢复产品实例计费返回信息】

swagger:model newbillingResumeProdInstanceResponse

func (*NewbillingResumeProdInstanceResponse) ContextValidate

func (m *NewbillingResumeProdInstanceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling resume prod instance response based on context it is used

func (*NewbillingResumeProdInstanceResponse) MarshalBinary

func (m *NewbillingResumeProdInstanceResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingResumeProdInstanceResponse) UnmarshalBinary

func (m *NewbillingResumeProdInstanceResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingResumeProdInstanceResponse) Validate

Validate validates this newbilling resume prod instance response

type NewbillingRole

type NewbillingRole struct {

	// 接入平台ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 创建时间
	// Format: date-time
	CreateTime *strfmt.DateTime `json:"create_time,omitempty"`

	// 创建人ID
	CreatedBy string `json:"created_by,omitempty"`

	// 角色描述
	Description string `json:"description,omitempty"`

	// 角色ID
	RoleID string `json:"role_id,omitempty"`

	// 角色名秒
	RoleName string `json:"role_name,omitempty"`

	// 角色类型- value = 1 owner, value = 2 普通角色
	RoleType int64 `json:"role_type,omitempty"`

	// 角色状态- value = 1 可用, value = 2 禁用
	Status int64 `json:"status,omitempty"`

	// 更新时间
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"update_time,omitempty"`

	// 角色的成员数量
	Users int64 `json:"users,omitempty"`
}

NewbillingRole 角色基本信息

swagger:model newbillingRole

func (*NewbillingRole) ContextValidate

func (m *NewbillingRole) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling role based on context it is used

func (*NewbillingRole) MarshalBinary

func (m *NewbillingRole) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingRole) UnmarshalBinary

func (m *NewbillingRole) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingRole) Validate

func (m *NewbillingRole) Validate(formats strfmt.Registry) error

Validate validates this newbilling role

type NewbillingRoleDetailResponse

type NewbillingRoleDetailResponse struct {

	// 角色描述
	Description string `json:"description,omitempty"`

	// 角色ID
	RoleID string `json:"role_id,omitempty"`

	// 角色名称
	RoleName string `json:"role_name,omitempty"`

	// 角色用户信息列表
	RoleUserInfo []*NewbillingRoleUserInfo `json:"role_user_info"`

	// 角色更新时间
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"update_time,omitempty"`
}

NewbillingRoleDetailResponse 角色详情返回信息

swagger:model newbillingRoleDetailResponse

func (*NewbillingRoleDetailResponse) ContextValidate

func (m *NewbillingRoleDetailResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling role detail response based on the context it is used

func (*NewbillingRoleDetailResponse) MarshalBinary

func (m *NewbillingRoleDetailResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingRoleDetailResponse) UnmarshalBinary

func (m *NewbillingRoleDetailResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingRoleDetailResponse) Validate

func (m *NewbillingRoleDetailResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling role detail response

type NewbillingRoleTypeInfo

type NewbillingRoleTypeInfo struct {

	// role id
	RoleID string `json:"role_id,omitempty"`

	// 角色类型- value = 1 owner, value = 2 普通角色
	RoleType int64 `json:"role_type,omitempty"`
}

NewbillingRoleTypeInfo newbilling role type info

swagger:model newbillingRoleTypeInfo

func (*NewbillingRoleTypeInfo) ContextValidate

func (m *NewbillingRoleTypeInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling role type info based on context it is used

func (*NewbillingRoleTypeInfo) MarshalBinary

func (m *NewbillingRoleTypeInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingRoleTypeInfo) UnmarshalBinary

func (m *NewbillingRoleTypeInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingRoleTypeInfo) Validate

func (m *NewbillingRoleTypeInfo) Validate(formats strfmt.Registry) error

Validate validates this newbilling role type info

type NewbillingRoleUserInfo

type NewbillingRoleUserInfo struct {

	// 用户email
	Email string `json:"email,omitempty"`

	// 用户状态- value = 1 可用, value = 2 禁用, value = 3 黑名单, value = 4 未加入
	Status int64 `json:"status,omitempty"`

	// 用户ID
	UserID string `json:"user_id,omitempty"`
}

NewbillingRoleUserInfo 角色用户信息

swagger:model newbillingRoleUserInfo

func (*NewbillingRoleUserInfo) ContextValidate

func (m *NewbillingRoleUserInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling role user info based on context it is used

func (*NewbillingRoleUserInfo) MarshalBinary

func (m *NewbillingRoleUserInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingRoleUserInfo) UnmarshalBinary

func (m *NewbillingRoleUserInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingRoleUserInfo) Validate

func (m *NewbillingRoleUserInfo) Validate(formats strfmt.Registry) error

Validate validates this newbilling role user info

type NewbillingSearchPrdOrdersResponse

type NewbillingSearchPrdOrdersResponse struct {

	// 返回结果列表
	Orders []*NewbillingPrdOrder `json:"orders"`

	// 匹配条件的结果总数
	Total int64 `json:"total,omitempty"`
}

NewbillingSearchPrdOrdersResponse 查询主订单返回信息

swagger:model newbillingSearchPrdOrdersResponse

func (*NewbillingSearchPrdOrdersResponse) ContextValidate

func (m *NewbillingSearchPrdOrdersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling search prd orders response based on the context it is used

func (*NewbillingSearchPrdOrdersResponse) MarshalBinary

func (m *NewbillingSearchPrdOrdersResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingSearchPrdOrdersResponse) UnmarshalBinary

func (m *NewbillingSearchPrdOrdersResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingSearchPrdOrdersResponse) Validate

Validate validates this newbilling search prd orders response

type NewbillingSendCustomerRechargedEventNotificationResponse

type NewbillingSendCustomerRechargedEventNotificationResponse interface{}

NewbillingSendCustomerRechargedEventNotificationResponse newbilling send customer recharged event notification response

swagger:model newbillingSendCustomerRechargedEventNotificationResponse

type NewbillingSendEventNotificationResponse

type NewbillingSendEventNotificationResponse interface{}

NewbillingSendEventNotificationResponse newbilling send event notification response

swagger:model newbillingSendEventNotificationResponse

type NewbillingSendMailsRequest

type NewbillingSendMailsRequest struct {

	// 邮件主题
	Subject string `json:"Subject,omitempty"`

	// 接受者
	EmailReceivers []string `json:"email_receivers"`

	// 邮件内容
	Msg string `json:"msg,omitempty"`
}

NewbillingSendMailsRequest newbilling send mails request

swagger:model newbillingSendMailsRequest

func (*NewbillingSendMailsRequest) ContextValidate

func (m *NewbillingSendMailsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling send mails request based on context it is used

func (*NewbillingSendMailsRequest) MarshalBinary

func (m *NewbillingSendMailsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingSendMailsRequest) UnmarshalBinary

func (m *NewbillingSendMailsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingSendMailsRequest) Validate

func (m *NewbillingSendMailsRequest) Validate(formats strfmt.Registry) error

Validate validates this newbilling send mails request

type NewbillingSendMailsResponse

type NewbillingSendMailsResponse struct {

	// 邮件发送是否成功
	IsSucc bool `json:"is_succ,omitempty"`
}

NewbillingSendMailsResponse newbilling send mails response

swagger:model newbillingSendMailsResponse

func (*NewbillingSendMailsResponse) ContextValidate

func (m *NewbillingSendMailsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling send mails response based on context it is used

func (*NewbillingSendMailsResponse) MarshalBinary

func (m *NewbillingSendMailsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingSendMailsResponse) UnmarshalBinary

func (m *NewbillingSendMailsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingSendMailsResponse) Validate

func (m *NewbillingSendMailsResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling send mails response

type NewbillingSendPaymenOrderProcessedNotificationResponse

type NewbillingSendPaymenOrderProcessedNotificationResponse interface{}

NewbillingSendPaymenOrderProcessedNotificationResponse newbilling send paymen order processed notification response

swagger:model newbillingSendPaymenOrderProcessedNotificationResponse

type NewbillingService

type NewbillingService struct {

	// 对接服务渠道,目前仅payment服务支持 pitrix-charging(iaas计费)/alipay
	Channel string `json:"channel,omitempty"`

	// 对接服务配置信息,json串形式
	Content string `json:"content,omitempty"`

	// 创建时间
	// Format: date-time
	CreateTime *strfmt.DateTime `json:"create_time,omitempty"`

	// 创建者
	CreatedBy string `json:"created_by,omitempty"`

	// 对接系统服务配置对象id
	ScopeID string `json:"scope_id,omitempty"`

	// 对接系统服务配置对象
	ScopeType string `json:"scope_type,omitempty"`

	// 对接服务,目前支持 account/payment/metering/notifier
	Service string `json:"service,omitempty"`

	// 更新时间
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"update_time,omitempty"`
}

NewbillingService 查询接对接服务请求

swagger:model newbillingService

func (*NewbillingService) ContextValidate

func (m *NewbillingService) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling service based on context it is used

func (*NewbillingService) MarshalBinary

func (m *NewbillingService) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingService) UnmarshalBinary

func (m *NewbillingService) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingService) Validate

func (m *NewbillingService) Validate(formats strfmt.Registry) error

Validate validates this newbilling service

type NewbillingSetEmailServiceConfigRequest

type NewbillingSetEmailServiceConfigRequest struct {

	// 邮件发送者昵称
	DisplayName string `json:"display_name,omitempty"`

	// 邮件服务器
	Host string `json:"host,omitempty"`

	// 密码
	Password string `json:"password,omitempty"`

	// 邮件服务器端口
	Port string `json:"port,omitempty"`

	// 用户名
	User string `json:"user,omitempty"`
}

NewbillingSetEmailServiceConfigRequest newbilling set email service config request

swagger:model newbillingSetEmailServiceConfigRequest

func (*NewbillingSetEmailServiceConfigRequest) ContextValidate

ContextValidate validates this newbilling set email service config request based on context it is used

func (*NewbillingSetEmailServiceConfigRequest) MarshalBinary

func (m *NewbillingSetEmailServiceConfigRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingSetEmailServiceConfigRequest) UnmarshalBinary

func (m *NewbillingSetEmailServiceConfigRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingSetEmailServiceConfigRequest) Validate

Validate validates this newbilling set email service config request

type NewbillingSetEmailServiceConfigResponse

type NewbillingSetEmailServiceConfigResponse struct {

	// 是否修改成功
	IsSucc bool `json:"is_succ,omitempty"`
}

NewbillingSetEmailServiceConfigResponse newbilling set email service config response

swagger:model newbillingSetEmailServiceConfigResponse

func (*NewbillingSetEmailServiceConfigResponse) ContextValidate

ContextValidate validates this newbilling set email service config response based on context it is used

func (*NewbillingSetEmailServiceConfigResponse) MarshalBinary

func (m *NewbillingSetEmailServiceConfigResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingSetEmailServiceConfigResponse) UnmarshalBinary

func (m *NewbillingSetEmailServiceConfigResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingSetEmailServiceConfigResponse) Validate

Validate validates this newbilling set email service config response

type NewbillingStartBillingJobsResponse

type NewbillingStartBillingJobsResponse interface{}

NewbillingStartBillingJobsResponse newbilling start billing jobs response

swagger:model newbillingStartBillingJobsResponse

type NewbillingStartCollectRequest

type NewbillingStartCollectRequest struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 采集开始时间
	// Format: date-time
	CollectTime *strfmt.DateTime `json:"collect_time,omitempty"`

	// 产品ID
	ProdID string `json:"prod_id,omitempty"`

	// 资源ID
	ProdInstIDExt string `json:"prod_inst_id_ext,omitempty"`
}

NewbillingStartCollectRequest newbilling start collect request

swagger:model newbillingStartCollectRequest

func (*NewbillingStartCollectRequest) ContextValidate

func (m *NewbillingStartCollectRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling start collect request based on context it is used

func (*NewbillingStartCollectRequest) MarshalBinary

func (m *NewbillingStartCollectRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingStartCollectRequest) UnmarshalBinary

func (m *NewbillingStartCollectRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingStartCollectRequest) Validate

func (m *NewbillingStartCollectRequest) Validate(formats strfmt.Registry) error

Validate validates this newbilling start collect request

type NewbillingStartCollectResponse

type NewbillingStartCollectResponse interface{}

NewbillingStartCollectResponse newbilling start collect response

swagger:model newbillingStartCollectResponse

type NewbillingStopBillingJobResponse

type NewbillingStopBillingJobResponse interface{}

NewbillingStopBillingJobResponse newbilling stop billing job response

swagger:model newbillingStopBillingJobResponse

type NewbillingStopCollectRequest

type NewbillingStopCollectRequest struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`

	// 资源ID
	ProdInstIDExt string `json:"prod_inst_id_ext,omitempty"`

	// 实例停止时间
	// Format: date-time
	StopTime *strfmt.DateTime `json:"stop_time,omitempty"`
}

NewbillingStopCollectRequest newbilling stop collect request

swagger:model newbillingStopCollectRequest

func (*NewbillingStopCollectRequest) ContextValidate

func (m *NewbillingStopCollectRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling stop collect request based on context it is used

func (*NewbillingStopCollectRequest) MarshalBinary

func (m *NewbillingStopCollectRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingStopCollectRequest) UnmarshalBinary

func (m *NewbillingStopCollectRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingStopCollectRequest) Validate

func (m *NewbillingStopCollectRequest) Validate(formats strfmt.Registry) error

Validate validates this newbilling stop collect request

type NewbillingStopCollectResponse

type NewbillingStopCollectResponse interface{}

NewbillingStopCollectResponse newbilling stop collect response

swagger:model newbillingStopCollectResponse

type NewbillingStopProdInstanceRequest

type NewbillingStopProdInstanceRequest struct {

	// disparity price
	DisparityPrice bool `json:"disparity_price,omitempty"`

	// 通知中的事件时间
	// Format: date-time
	EventTime *strfmt.DateTime `json:"event_time,omitempty"`

	// not refund
	NotRefund bool `json:"not_refund,omitempty"`

	// 产品实例ID
	ProdInstIDExt string `json:"prod_inst_id_ext,omitempty"`

	// refund all
	RefundAll bool `json:"refund_all,omitempty"`
}

NewbillingStopProdInstanceRequest 停止产品实例计费请求信息

swagger:model newbillingStopProdInstanceRequest

func (*NewbillingStopProdInstanceRequest) ContextValidate

func (m *NewbillingStopProdInstanceRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling stop prod instance request based on context it is used

func (*NewbillingStopProdInstanceRequest) MarshalBinary

func (m *NewbillingStopProdInstanceRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingStopProdInstanceRequest) UnmarshalBinary

func (m *NewbillingStopProdInstanceRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingStopProdInstanceRequest) Validate

Validate validates this newbilling stop prod instance request

type NewbillingStopProdInstanceResponse

type NewbillingStopProdInstanceResponse struct {

	// 实际退费金额
	AmountPayable float32 `json:"amount_payable,omitempty"`

	// 退费的原价
	Cost float32 `json:"cost,omitempty"`

	// 产品实例ID
	ProdInstIDExt string `json:"prod_inst_id_ext,omitempty"`

	// stop time
	// Format: date-time
	StopTime *strfmt.DateTime `json:"stop_time,omitempty"`
}

NewbillingStopProdInstanceResponse 停止产品实例返回信息

swagger:model newbillingStopProdInstanceResponse

func (*NewbillingStopProdInstanceResponse) ContextValidate

func (m *NewbillingStopProdInstanceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling stop prod instance response based on context it is used

func (*NewbillingStopProdInstanceResponse) MarshalBinary

func (m *NewbillingStopProdInstanceResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingStopProdInstanceResponse) UnmarshalBinary

func (m *NewbillingStopProdInstanceResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingStopProdInstanceResponse) Validate

Validate validates this newbilling stop prod instance response

type NewbillingStrategy

type NewbillingStrategy struct {

	// attributes
	Attributes []*NewbillingAttribute `json:"attributes"`

	// 基础折扣
	BasicDiscount float32 `json:"basic_discount,omitempty"`

	// 计费项ID
	CompID string `json:"comp_id,omitempty"`

	// 费用表达式公式
	CostExpression string `json:"cost_expression,omitempty"`

	// 费用表达式公式
	CostExpression4read string `json:"cost_expression4read,omitempty"`

	// 费用表达式公式计算结果
	CostExpressionResult float32 `json:"cost_expression_result,omitempty"`

	// 费用表达式公式计算结果-最终结果
	CostExpressionResultFinal float32 `json:"cost_expression_result_final,omitempty"`

	// 创建时间
	// Format: date-time
	CreateTime *strfmt.DateTime `json:"create_time,omitempty"`

	// 客户折扣
	CustomerDiscount float32 `json:"customer_discount,omitempty"`

	// 条件表达式,如 flt_YjD7NnZpzQLj && flt_pjGAEq3BjZ8n || flt_RPVnyLNNROmK
	FilterExpression string `json:"filter_expression,omitempty"`

	// 条件表达式1,如 atr_QzDXM0OMj2RB=='AP' && atr_3N7R63DqNGQg==4 || patr_PackageMonth==6
	FilterExpression4code string `json:"filter_expression4code,omitempty"`

	// 条件表达式1,如 区域=='AP' && 内存==4 || 包月数==6
	FilterExpression4read string `json:"filter_expression4read,omitempty"`

	// 条件表达式计算结果
	FilterExpressionResult bool `json:"filter_expression_result,omitempty"`

	// 策略名称
	Name string `json:"name,omitempty"`

	// 产品ID
	ProdID string `json:"prod_id,omitempty"`

	// 策略备注
	Remark string `json:"remark,omitempty"`

	// 策略编码
	StrategyCode string `json:"strategy_code,omitempty"`

	// 策略ID
	StrategyID string `json:"strategy_id,omitempty"`

	// 更新时间
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"update_time,omitempty"`
}

NewbillingStrategy 策略

swagger:model newbillingStrategy

func (*NewbillingStrategy) ContextValidate

func (m *NewbillingStrategy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling strategy based on the context it is used

func (*NewbillingStrategy) MarshalBinary

func (m *NewbillingStrategy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingStrategy) UnmarshalBinary

func (m *NewbillingStrategy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingStrategy) Validate

func (m *NewbillingStrategy) Validate(formats strfmt.Registry) error

Validate validates this newbilling strategy

type NewbillingStrategyPricing

type NewbillingStrategyPricing struct {

	// strategy
	Strategy *NewbillingStrategy `json:"strategy,omitempty"`

	// strategy final price
	StrategyFinalPrice float32 `json:"strategy_final_price,omitempty"`

	// strategy id
	StrategyID string `json:"strategy_id,omitempty"`

	// strategy price
	StrategyPrice float32 `json:"strategy_price,omitempty"`
}

NewbillingStrategyPricing newbilling strategy pricing

swagger:model newbillingStrategyPricing

func (*NewbillingStrategyPricing) ContextValidate

func (m *NewbillingStrategyPricing) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling strategy pricing based on the context it is used

func (*NewbillingStrategyPricing) MarshalBinary

func (m *NewbillingStrategyPricing) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingStrategyPricing) UnmarshalBinary

func (m *NewbillingStrategyPricing) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingStrategyPricing) Validate

func (m *NewbillingStrategyPricing) Validate(formats strfmt.Registry) error

Validate validates this newbilling strategy pricing

type NewbillingSubsCompDetail

type NewbillingSubsCompDetail struct {

	// comp code
	CompCode string `json:"comp_code,omitempty"`

	// comp id
	CompID string `json:"comp_id,omitempty"`

	// comp name
	CompName string `json:"comp_name,omitempty"`

	// subs component id
	SubsComponentID string `json:"subs_component_id,omitempty"`
}

NewbillingSubsCompDetail newbilling subs comp detail

swagger:model newbillingSubsCompDetail

func (*NewbillingSubsCompDetail) ContextValidate

func (m *NewbillingSubsCompDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling subs comp detail based on context it is used

func (*NewbillingSubsCompDetail) MarshalBinary

func (m *NewbillingSubsCompDetail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingSubsCompDetail) UnmarshalBinary

func (m *NewbillingSubsCompDetail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingSubsCompDetail) Validate

func (m *NewbillingSubsCompDetail) Validate(formats strfmt.Registry) error

Validate validates this newbilling subs comp detail

type NewbillingSubscriptionComponent

type NewbillingSubscriptionComponent struct {

	// amount payable
	AmountPayable float32 `json:"amount_payable,omitempty"`

	// attrs
	Attrs []*NewbillingComponentAttribute `json:"attrs"`

	// bill id
	BillID string `json:"bill_id,omitempty"`

	// billing mode
	BillingMode string `json:"billing_mode,omitempty"`

	// comp id
	CompID string `json:"comp_id,omitempty"`

	// comp name
	CompName string `json:"comp_name,omitempty"`

	// cost
	Cost float32 `json:"cost,omitempty"`

	// create time
	// Format: date-time
	CreateTime *strfmt.DateTime `json:"create_time,omitempty"`

	// discount
	Discount float32 `json:"discount,omitempty"`

	// duration
	Duration string `json:"duration,omitempty"`

	// expire time
	// Format: date-time
	ExpireTime *strfmt.DateTime `json:"expire_time,omitempty"`

	// is deleted
	IsDeleted int32 `json:"is_deleted,omitempty"`

	// plan id
	PlanID string `json:"plan_id,omitempty"`

	// prod inst id
	ProdInstID string `json:"prod_inst_id,omitempty"`

	// prod inst id ext
	ProdInstIDExt string `json:"prod_inst_id_ext,omitempty"`

	// start time
	// Format: date-time
	StartTime *strfmt.DateTime `json:"start_time,omitempty"`

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

	// subs component id
	SubsComponentID string `json:"subs_component_id,omitempty"`

	// subs id
	SubsID string `json:"subs_id,omitempty"`

	// unit price
	UnitPrice float32 `json:"unit_price,omitempty"`

	// update time
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"update_time,omitempty"`
}

NewbillingSubscriptionComponent newbilling subscription component

swagger:model newbillingSubscriptionComponent

func (*NewbillingSubscriptionComponent) ContextValidate

func (m *NewbillingSubscriptionComponent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling subscription component based on the context it is used

func (*NewbillingSubscriptionComponent) MarshalBinary

func (m *NewbillingSubscriptionComponent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingSubscriptionComponent) UnmarshalBinary

func (m *NewbillingSubscriptionComponent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingSubscriptionComponent) Validate

Validate validates this newbilling subscription component

type NewbillingSubscriptionComponentMini

type NewbillingSubscriptionComponentMini struct {

	// amount payable
	AmountPayable float32 `json:"amount_payable,omitempty"`

	// attrs
	Attrs []*NewbillingComponentAttribute `json:"attrs"`

	// billing mode
	BillingMode string `json:"billing_mode,omitempty"`

	// comp code
	CompCode string `json:"comp_code,omitempty"`

	// comp name
	CompName string `json:"comp_name,omitempty"`

	// cost
	Cost float32 `json:"cost,omitempty"`

	// duration
	Duration string `json:"duration,omitempty"`

	// expire time
	// Format: date-time
	ExpireTime *strfmt.DateTime `json:"expire_time,omitempty"`

	// start time
	// Format: date-time
	StartTime *strfmt.DateTime `json:"start_time,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// subs component id
	SubsComponentID string `json:"subs_component_id,omitempty"`
}

NewbillingSubscriptionComponentMini newbilling subscription component mini

swagger:model newbillingSubscriptionComponentMini

func (*NewbillingSubscriptionComponentMini) ContextValidate

func (m *NewbillingSubscriptionComponentMini) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling subscription component mini based on the context it is used

func (*NewbillingSubscriptionComponentMini) MarshalBinary

func (m *NewbillingSubscriptionComponentMini) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingSubscriptionComponentMini) UnmarshalBinary

func (m *NewbillingSubscriptionComponentMini) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingSubscriptionComponentMini) Validate

Validate validates this newbilling subscription component mini

type NewbillingSwitchAccessSysRequest

type NewbillingSwitchAccessSysRequest struct {

	// 接入系统ID
	AccessSysID string `json:"access_sys_id,omitempty"`
}

NewbillingSwitchAccessSysRequest 切换接入系统请求信息

swagger:model newbillingSwitchAccessSysRequest

func (*NewbillingSwitchAccessSysRequest) ContextValidate

func (m *NewbillingSwitchAccessSysRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling switch access sys request based on context it is used

func (*NewbillingSwitchAccessSysRequest) MarshalBinary

func (m *NewbillingSwitchAccessSysRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingSwitchAccessSysRequest) UnmarshalBinary

func (m *NewbillingSwitchAccessSysRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingSwitchAccessSysRequest) Validate

Validate validates this newbilling switch access sys request

type NewbillingTransferCompToTimePackageRequest

type NewbillingTransferCompToTimePackageRequest struct {

	// 到期是否自动续约
	CompAutoRenew int32 `json:"comp_auto_renew,omitempty"`

	// 计费项时长
	CompDuration string `json:"comp_duration,omitempty"`

	// 到期续约时长
	CompRenewDuration string `json:"comp_renew_duration,omitempty"`

	// 通知中的事件时间
	// Format: date-time
	EventTime *strfmt.DateTime `json:"event_time,omitempty"`

	// 外部产品实例ID
	ProdInstIDExt string `json:"prod_inst_id_ext,omitempty"`
}

NewbillingTransferCompToTimePackageRequest 产品实例将时间量转为时间包请求信息

swagger:model newbillingTransferCompToTimePackageRequest

func (*NewbillingTransferCompToTimePackageRequest) ContextValidate

ContextValidate validates this newbilling transfer comp to time package request based on context it is used

func (*NewbillingTransferCompToTimePackageRequest) MarshalBinary

func (m *NewbillingTransferCompToTimePackageRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingTransferCompToTimePackageRequest) UnmarshalBinary

func (m *NewbillingTransferCompToTimePackageRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingTransferCompToTimePackageRequest) Validate

Validate validates this newbilling transfer comp to time package request

type NewbillingTransferCompToTimePackageResponse

type NewbillingTransferCompToTimePackageResponse struct {

	// 主订单应付金额
	AmountPayable float32 `json:"amount_payable,omitempty"`

	// 主订单原价
	Cost float32 `json:"cost,omitempty"`

	// 主订单ID
	OrderID string `json:"order_id,omitempty"`

	// 主订单状态- 待支付、已支付、作废
	OrderStatus string `json:"order_status,omitempty"`
}

NewbillingTransferCompToTimePackageResponse newbilling transfer comp to time package response

swagger:model newbillingTransferCompToTimePackageResponse

func (*NewbillingTransferCompToTimePackageResponse) ContextValidate

ContextValidate validates this newbilling transfer comp to time package response based on context it is used

func (*NewbillingTransferCompToTimePackageResponse) MarshalBinary

func (m *NewbillingTransferCompToTimePackageResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingTransferCompToTimePackageResponse) UnmarshalBinary

func (m *NewbillingTransferCompToTimePackageResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingTransferCompToTimePackageResponse) Validate

Validate validates this newbilling transfer comp to time package response

type NewbillingTransferCompToUsageTimeRequest

type NewbillingTransferCompToUsageTimeRequest struct {

	// 通知中的事件时间
	// Format: date-time
	EventTime *strfmt.DateTime `json:"event_time,omitempty"`

	// 外部产品实例ID
	ProdInstIDExt string `json:"prod_inst_id_ext,omitempty"`
}

NewbillingTransferCompToUsageTimeRequest 产品实例将时间包转为时间量请求信息

swagger:model newbillingTransferCompToUsageTimeRequest

func (*NewbillingTransferCompToUsageTimeRequest) ContextValidate

ContextValidate validates this newbilling transfer comp to usage time request based on context it is used

func (*NewbillingTransferCompToUsageTimeRequest) MarshalBinary

func (m *NewbillingTransferCompToUsageTimeRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingTransferCompToUsageTimeRequest) UnmarshalBinary

func (m *NewbillingTransferCompToUsageTimeRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingTransferCompToUsageTimeRequest) Validate

Validate validates this newbilling transfer comp to usage time request

type NewbillingTransferCompToUsageTimeResponse

type NewbillingTransferCompToUsageTimeResponse struct {

	// 主订单应付金额
	AmountPayable float32 `json:"amount_payable,omitempty"`

	// 主订单原价
	Cost float32 `json:"cost,omitempty"`

	// 主订单ID
	OrderID string `json:"order_id,omitempty"`

	// 主订单状态- 待支付、已支付、作废
	OrderStatus string `json:"order_status,omitempty"`
}

NewbillingTransferCompToUsageTimeResponse newbilling transfer comp to usage time response

swagger:model newbillingTransferCompToUsageTimeResponse

func (*NewbillingTransferCompToUsageTimeResponse) ContextValidate

ContextValidate validates this newbilling transfer comp to usage time response based on context it is used

func (*NewbillingTransferCompToUsageTimeResponse) MarshalBinary

func (m *NewbillingTransferCompToUsageTimeResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingTransferCompToUsageTimeResponse) UnmarshalBinary

func (m *NewbillingTransferCompToUsageTimeResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingTransferCompToUsageTimeResponse) Validate

Validate validates this newbilling transfer comp to usage time response

type NewbillingUnMappingComponentRequest

type NewbillingUnMappingComponentRequest struct {

	// 取消转换的计费项ID @gotags: valid:"Required"
	CompID string `json:"comp_id,omitempty"`
}

NewbillingUnMappingComponentRequest 取消计费项转换请求信息

swagger:model newbillingUnMappingComponentRequest

func (*NewbillingUnMappingComponentRequest) ContextValidate

func (m *NewbillingUnMappingComponentRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling un mapping component request based on context it is used

func (*NewbillingUnMappingComponentRequest) MarshalBinary

func (m *NewbillingUnMappingComponentRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingUnMappingComponentRequest) UnmarshalBinary

func (m *NewbillingUnMappingComponentRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingUnMappingComponentRequest) Validate

Validate validates this newbilling un mapping component request

type NewbillingUnMappingComponentResponse

type NewbillingUnMappingComponentResponse struct {

	// 取消转换的计费项ID
	CompID string `json:"comp_id,omitempty"`
}

NewbillingUnMappingComponentResponse 取消计费项转换返回信息

swagger:model newbillingUnMappingComponentResponse

func (*NewbillingUnMappingComponentResponse) ContextValidate

func (m *NewbillingUnMappingComponentResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling un mapping component response based on context it is used

func (*NewbillingUnMappingComponentResponse) MarshalBinary

func (m *NewbillingUnMappingComponentResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingUnMappingComponentResponse) UnmarshalBinary

func (m *NewbillingUnMappingComponentResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingUnMappingComponentResponse) Validate

Validate validates this newbilling un mapping component response

type NewbillingUpdateProdInstanceRequest

type NewbillingUpdateProdInstanceRequest struct {

	// 产品实例是否自动续约
	IsAutoRenew int32 `json:"is_auto_renew,omitempty"`

	// 产品实例ID
	ProdInstIDExt string `json:"prod_inst_id_ext,omitempty"`

	// 产品实例自动续约时长
	RenewDuration string `json:"renew_duration,omitempty"`
}

NewbillingUpdateProdInstanceRequest 改变产品实例自动续约时长请求信息

swagger:model newbillingUpdateProdInstanceRequest

func (*NewbillingUpdateProdInstanceRequest) ContextValidate

func (m *NewbillingUpdateProdInstanceRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling update prod instance request based on context it is used

func (*NewbillingUpdateProdInstanceRequest) MarshalBinary

func (m *NewbillingUpdateProdInstanceRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingUpdateProdInstanceRequest) UnmarshalBinary

func (m *NewbillingUpdateProdInstanceRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingUpdateProdInstanceRequest) Validate

Validate validates this newbilling update prod instance request

type NewbillingUpdateProdInstanceResponse

type NewbillingUpdateProdInstanceResponse struct {

	// 产品实例ID
	ProdInstIDExt string `json:"prod_inst_id_ext,omitempty"`
}

NewbillingUpdateProdInstanceResponse 改变产品实例自动续约时长返回信息

swagger:model newbillingUpdateProdInstanceResponse

func (*NewbillingUpdateProdInstanceResponse) ContextValidate

func (m *NewbillingUpdateProdInstanceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling update prod instance response based on context it is used

func (*NewbillingUpdateProdInstanceResponse) MarshalBinary

func (m *NewbillingUpdateProdInstanceResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingUpdateProdInstanceResponse) UnmarshalBinary

func (m *NewbillingUpdateProdInstanceResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingUpdateProdInstanceResponse) Validate

Validate validates this newbilling update prod instance response

type NewbillingUser

type NewbillingUser struct {

	// 地址
	Address string `json:"address,omitempty"`

	// 公司编码
	CompanyCode string `json:"company_code,omitempty"`

	// 公司名称
	CompanyName string `json:"company_name,omitempty"`

	// 公司电话
	CompanyPhone string `json:"company_phone,omitempty"`

	// 创建时间
	// Format: date-time
	CreateTime *strfmt.DateTime `json:"create_time,omitempty"`

	// 货币种类
	Currency string `json:"currency,omitempty"`

	// 用户邮件-帐号
	Email string `json:"email,omitempty"`

	// 用户图像
	Image string `json:"image,omitempty"`

	// 所属行业
	IndustryCategory string `json:"industry_category,omitempty"`

	// 语言
	Lang string `json:"lang,omitempty"`

	// 用户密码
	Passwd string `json:"passwd,omitempty"`

	// 用户编码
	PersonalCode string `json:"personal_code,omitempty"`

	// 用户姓名
	PersonalName string `json:"personal_name,omitempty"`

	// 手机号
	Phone string `json:"phone,omitempty"`

	// 备注
	Remarks string `json:"remarks,omitempty"`

	// 用户角色信息
	Roles []*NewbillingUserRole `json:"roles"`

	// 销售类型
	SaleType string `json:"sale_type,omitempty"`

	// 用户状态- value = 1 可用, value = 2 禁用, value = 3 黑名单, value = 4 未加入
	Status int64 `json:"status,omitempty"`

	// 更新时间
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"update_time,omitempty"`

	// 用户ID
	UserID string `json:"user_id,omitempty"`

	// 用户类型
	UserType int64 `json:"user_type,omitempty"`

	// 验证类型
	VerifyType string `json:"verify_type,omitempty"`
}

NewbillingUser 用户帐号信息

swagger:model newbillingUser

func (*NewbillingUser) ContextValidate

func (m *NewbillingUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this newbilling user based on the context it is used

func (*NewbillingUser) MarshalBinary

func (m *NewbillingUser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingUser) UnmarshalBinary

func (m *NewbillingUser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingUser) Validate

func (m *NewbillingUser) Validate(formats strfmt.Registry) error

Validate validates this newbilling user

type NewbillingUserInfoResponse

type NewbillingUserInfoResponse struct {

	// console id
	ConsoleID string `json:"console_id,omitempty"`

	// currency
	Currency string `json:"currency,omitempty"`

	// paid mode
	PaidMode string `json:"paid_mode,omitempty"`

	// root user id
	RootUserID string `json:"root_user_id,omitempty"`

	// user id
	UserID string `json:"user_id,omitempty"`

	// user name
	UserName string `json:"user_name,omitempty"`
}

NewbillingUserInfoResponse newbilling user info response

swagger:model newbillingUserInfoResponse

func (*NewbillingUserInfoResponse) ContextValidate

func (m *NewbillingUserInfoResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling user info response based on context it is used

func (*NewbillingUserInfoResponse) MarshalBinary

func (m *NewbillingUserInfoResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingUserInfoResponse) UnmarshalBinary

func (m *NewbillingUserInfoResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingUserInfoResponse) Validate

func (m *NewbillingUserInfoResponse) Validate(formats strfmt.Registry) error

Validate validates this newbilling user info response

type NewbillingUserRole

type NewbillingUserRole struct {

	// 角色ID
	ID string `json:"id,omitempty"`

	// 角色名称
	Name string `json:"name,omitempty"`
}

NewbillingUserRole 用户角色信息

swagger:model newbillingUserRole

func (*NewbillingUserRole) ContextValidate

func (m *NewbillingUserRole) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbilling user role based on context it is used

func (*NewbillingUserRole) MarshalBinary

func (m *NewbillingUserRole) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NewbillingUserRole) UnmarshalBinary

func (m *NewbillingUserRole) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NewbillingUserRole) Validate

func (m *NewbillingUserRole) Validate(formats strfmt.Registry) error

Validate validates this newbilling user role

type Newbillingprod

type Newbillingprod struct {

	// prod code
	ProdCode string `json:"prod_code,omitempty"`

	// prod name
	ProdName string `json:"prod_name,omitempty"`
}

Newbillingprod newbillingprod

swagger:model newbillingprod

func (*Newbillingprod) ContextValidate

func (m *Newbillingprod) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this newbillingprod based on context it is used

func (*Newbillingprod) MarshalBinary

func (m *Newbillingprod) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Newbillingprod) UnmarshalBinary

func (m *Newbillingprod) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Newbillingprod) Validate

func (m *Newbillingprod) Validate(formats strfmt.Registry) error

Validate validates this newbillingprod

type ProtobufAny

type ProtobufAny struct {

	// A URL/resource name whose content describes the type of the
	// serialized protocol buffer message.
	//
	// For URLs which use the scheme `http`, `https`, or no scheme, the
	// following restrictions and interpretations apply:
	//
	// * If no scheme is provided, `https` is assumed.
	// * The last segment of the URL's path must represent the fully
	//   qualified name of the type (as in `path/google.protobuf.Duration`).
	//   The name should be in a canonical form (e.g., leading "." is
	//   not accepted).
	// * An HTTP GET on the URL must yield a [google.protobuf.Type][]
	//   value in binary format, or produce an error.
	// * Applications are allowed to cache lookup results based on the
	//   URL, or have them precompiled into a binary to avoid any
	//   lookup. Therefore, binary compatibility needs to be preserved
	//   on changes to types. (Use versioned type names to manage
	//   breaking changes.)
	//
	// Schemes other than `http`, `https` (or the empty scheme) might be
	// used with implementation specific semantics.
	TypeURL string `json:"type_url,omitempty"`

	// Must be a valid serialized protocol buffer of the above specified type.
	// Format: byte
	Value strfmt.Base64 `json:"value,omitempty"`
}

ProtobufAny `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.

Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.

Example 1: Pack and unpack a message in C++.

Foo foo = ...;
Any any;
any.PackFrom(foo);
...
if (any.UnpackTo(&foo)) {
  ...
}

Example 2: Pack and unpack a message in Java.

   Foo foo = ...;
   Any any = Any.pack(foo);
   ...
   if (any.is(Foo.class)) {
     foo = any.unpack(Foo.class);
   }

Example 3: Pack and unpack a message in Python.

   foo = Foo(...)
   any = Any()
   any.Pack(foo)
   ...
   if any.Is(Foo.DESCRIPTOR):
     any.Unpack(foo)
     ...

Example 4: Pack and unpack a message in Go

    foo := &pb.Foo{...}
    any, err := ptypes.MarshalAny(foo)
    ...
    foo := &pb.Foo{}
    if err := ptypes.UnmarshalAny(any, foo); err != nil {
      ...
    }

The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".

JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example:

package google.profile;
message Person {
  string first_name = 1;
  string last_name = 2;
}

{
  "@type": "type.googleapis.com/google.profile.Person",
  "firstName": <string>,
  "lastName": <string>
}

If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]):

{
  "@type": "type.googleapis.com/google.protobuf.Duration",
  "value": "1.212s"
}

swagger:model protobufAny

func (*ProtobufAny) ContextValidate

func (m *ProtobufAny) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this protobuf any based on context it is used

func (*ProtobufAny) MarshalBinary

func (m *ProtobufAny) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProtobufAny) UnmarshalBinary

func (m *ProtobufAny) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProtobufAny) Validate

func (m *ProtobufAny) Validate(formats strfmt.Registry) error

Validate validates this protobuf any

type RuntimeError

type RuntimeError struct {

	// code
	Code int32 `json:"code,omitempty"`

	// details
	Details []*ProtobufAny `json:"details"`

	// error
	Error string `json:"error,omitempty"`

	// message
	Message string `json:"message,omitempty"`
}

RuntimeError runtime error

swagger:model runtimeError

func (*RuntimeError) ContextValidate

func (m *RuntimeError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this runtime error based on the context it is used

func (*RuntimeError) MarshalBinary

func (m *RuntimeError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RuntimeError) UnmarshalBinary

func (m *RuntimeError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RuntimeError) Validate

func (m *RuntimeError) Validate(formats strfmt.Registry) error

Validate validates this runtime error

Source Files

Jump to

Keyboard shortcuts

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