Class: TencentCloud::Hasim::V20210716::CreateRuleRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210716/models.rb

Overview

CreateRule请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, type = nil, isactive = nil, notice = nil, email = nil, url = nil, datathreshold = nil, district = nil, distance = nil, signalstrength = nil, lostday = nil, tagids = nil, saleplan = nil) ⇒ CreateRuleRequest

Returns a new instance of CreateRuleRequest.



51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# File 'lib/v20210716/models.rb', line 51

def initialize(name=nil, type=nil, isactive=nil, notice=nil, email=nil, url=nil, datathreshold=nil, district=nil, distance=nil, signalstrength=nil, lostday=nil, tagids=nil, saleplan=nil)
  @Name = name
  @Type = type
  @IsActive = isactive
  @Notice = notice
  @Email = email
  @Url = url
  @DataThreshold = datathreshold
  @District = district
  @Distance = distance
  @SignalStrength = signalstrength
  @LostDay = lostday
  @TagIDs = tagids
  @SalePlan = saleplan
end

Instance Attribute Details

#DataThresholdObject

Parameters:

  • Name:

    自动化规则名称

  • Type:

    规则类型:用量类(101 当月|102有效期内)、位置类(201行政区|202移动距离)、网络质量类(301网络盲点)

  • IsActive:

    是否激活

  • Notice:

    触发动作:1 邮件 2 API请求 3 微信 4 停卡 5 地图标识为盲点

  • Email:

    邮箱

  • Url:

    推送的API地址

  • DataThreshold:

    用量阈值

  • District:

    行政区类型:1. 省份 2. 城市 3. 区

  • Distance:

    心跳移动距离阈值

  • SignalStrength:

    信号强度阈值

  • LostDay:

    盲点时间阈值,天

  • TagIDs:

    标签ID集合

  • SalePlan:

    资费计划



49
50
51
# File 'lib/v20210716/models.rb', line 49

def DataThreshold
  @DataThreshold
end

#DistanceObject

Parameters:

  • Name:

    自动化规则名称

  • Type:

    规则类型:用量类(101 当月|102有效期内)、位置类(201行政区|202移动距离)、网络质量类(301网络盲点)

  • IsActive:

    是否激活

  • Notice:

    触发动作:1 邮件 2 API请求 3 微信 4 停卡 5 地图标识为盲点

  • Email:

    邮箱

  • Url:

    推送的API地址

  • DataThreshold:

    用量阈值

  • District:

    行政区类型:1. 省份 2. 城市 3. 区

  • Distance:

    心跳移动距离阈值

  • SignalStrength:

    信号强度阈值

  • LostDay:

    盲点时间阈值,天

  • TagIDs:

    标签ID集合

  • SalePlan:

    资费计划



49
50
51
# File 'lib/v20210716/models.rb', line 49

def Distance
  @Distance
end

#DistrictObject

Parameters:

  • Name:

    自动化规则名称

  • Type:

    规则类型:用量类(101 当月|102有效期内)、位置类(201行政区|202移动距离)、网络质量类(301网络盲点)

  • IsActive:

    是否激活

  • Notice:

    触发动作:1 邮件 2 API请求 3 微信 4 停卡 5 地图标识为盲点

  • Email:

    邮箱

  • Url:

    推送的API地址

  • DataThreshold:

    用量阈值

  • District:

    行政区类型:1. 省份 2. 城市 3. 区

  • Distance:

    心跳移动距离阈值

  • SignalStrength:

    信号强度阈值

  • LostDay:

    盲点时间阈值,天

  • TagIDs:

    标签ID集合

  • SalePlan:

    资费计划



49
50
51
# File 'lib/v20210716/models.rb', line 49

def District
  @District
end

#EmailObject

Parameters:

  • Name:

    自动化规则名称

  • Type:

    规则类型:用量类(101 当月|102有效期内)、位置类(201行政区|202移动距离)、网络质量类(301网络盲点)

  • IsActive:

    是否激活

  • Notice:

    触发动作:1 邮件 2 API请求 3 微信 4 停卡 5 地图标识为盲点

  • Email:

    邮箱

  • Url:

    推送的API地址

  • DataThreshold:

    用量阈值

  • District:

    行政区类型:1. 省份 2. 城市 3. 区

  • Distance:

    心跳移动距离阈值

  • SignalStrength:

    信号强度阈值

  • LostDay:

    盲点时间阈值,天

  • TagIDs:

    标签ID集合

  • SalePlan:

    资费计划



49
50
51
# File 'lib/v20210716/models.rb', line 49

def Email
  @Email
end

#IsActiveObject

Parameters:

  • Name:

    自动化规则名称

  • Type:

    规则类型:用量类(101 当月|102有效期内)、位置类(201行政区|202移动距离)、网络质量类(301网络盲点)

  • IsActive:

    是否激活

  • Notice:

    触发动作:1 邮件 2 API请求 3 微信 4 停卡 5 地图标识为盲点

  • Email:

    邮箱

  • Url:

    推送的API地址

  • DataThreshold:

    用量阈值

  • District:

    行政区类型:1. 省份 2. 城市 3. 区

  • Distance:

    心跳移动距离阈值

  • SignalStrength:

    信号强度阈值

  • LostDay:

    盲点时间阈值,天

  • TagIDs:

    标签ID集合

  • SalePlan:

    资费计划



49
50
51
# File 'lib/v20210716/models.rb', line 49

def IsActive
  @IsActive
end

#LostDayObject

Parameters:

  • Name:

    自动化规则名称

  • Type:

    规则类型:用量类(101 当月|102有效期内)、位置类(201行政区|202移动距离)、网络质量类(301网络盲点)

  • IsActive:

    是否激活

  • Notice:

    触发动作:1 邮件 2 API请求 3 微信 4 停卡 5 地图标识为盲点

  • Email:

    邮箱

  • Url:

    推送的API地址

  • DataThreshold:

    用量阈值

  • District:

    行政区类型:1. 省份 2. 城市 3. 区

  • Distance:

    心跳移动距离阈值

  • SignalStrength:

    信号强度阈值

  • LostDay:

    盲点时间阈值,天

  • TagIDs:

    标签ID集合

  • SalePlan:

    资费计划



49
50
51
# File 'lib/v20210716/models.rb', line 49

def LostDay
  @LostDay
end

#NameObject

Parameters:

  • Name:

    自动化规则名称

  • Type:

    规则类型:用量类(101 当月|102有效期内)、位置类(201行政区|202移动距离)、网络质量类(301网络盲点)

  • IsActive:

    是否激活

  • Notice:

    触发动作:1 邮件 2 API请求 3 微信 4 停卡 5 地图标识为盲点

  • Email:

    邮箱

  • Url:

    推送的API地址

  • DataThreshold:

    用量阈值

  • District:

    行政区类型:1. 省份 2. 城市 3. 区

  • Distance:

    心跳移动距离阈值

  • SignalStrength:

    信号强度阈值

  • LostDay:

    盲点时间阈值,天

  • TagIDs:

    标签ID集合

  • SalePlan:

    资费计划



49
50
51
# File 'lib/v20210716/models.rb', line 49

def Name
  @Name
end

#NoticeObject

Parameters:

  • Name:

    自动化规则名称

  • Type:

    规则类型:用量类(101 当月|102有效期内)、位置类(201行政区|202移动距离)、网络质量类(301网络盲点)

  • IsActive:

    是否激活

  • Notice:

    触发动作:1 邮件 2 API请求 3 微信 4 停卡 5 地图标识为盲点

  • Email:

    邮箱

  • Url:

    推送的API地址

  • DataThreshold:

    用量阈值

  • District:

    行政区类型:1. 省份 2. 城市 3. 区

  • Distance:

    心跳移动距离阈值

  • SignalStrength:

    信号强度阈值

  • LostDay:

    盲点时间阈值,天

  • TagIDs:

    标签ID集合

  • SalePlan:

    资费计划



49
50
51
# File 'lib/v20210716/models.rb', line 49

def Notice
  @Notice
end

#SalePlanObject

Parameters:

  • Name:

    自动化规则名称

  • Type:

    规则类型:用量类(101 当月|102有效期内)、位置类(201行政区|202移动距离)、网络质量类(301网络盲点)

  • IsActive:

    是否激活

  • Notice:

    触发动作:1 邮件 2 API请求 3 微信 4 停卡 5 地图标识为盲点

  • Email:

    邮箱

  • Url:

    推送的API地址

  • DataThreshold:

    用量阈值

  • District:

    行政区类型:1. 省份 2. 城市 3. 区

  • Distance:

    心跳移动距离阈值

  • SignalStrength:

    信号强度阈值

  • LostDay:

    盲点时间阈值,天

  • TagIDs:

    标签ID集合

  • SalePlan:

    资费计划



49
50
51
# File 'lib/v20210716/models.rb', line 49

def SalePlan
  @SalePlan
end

#SignalStrengthObject

Parameters:

  • Name:

    自动化规则名称

  • Type:

    规则类型:用量类(101 当月|102有效期内)、位置类(201行政区|202移动距离)、网络质量类(301网络盲点)

  • IsActive:

    是否激活

  • Notice:

    触发动作:1 邮件 2 API请求 3 微信 4 停卡 5 地图标识为盲点

  • Email:

    邮箱

  • Url:

    推送的API地址

  • DataThreshold:

    用量阈值

  • District:

    行政区类型:1. 省份 2. 城市 3. 区

  • Distance:

    心跳移动距离阈值

  • SignalStrength:

    信号强度阈值

  • LostDay:

    盲点时间阈值,天

  • TagIDs:

    标签ID集合

  • SalePlan:

    资费计划



49
50
51
# File 'lib/v20210716/models.rb', line 49

def SignalStrength
  @SignalStrength
end

#TagIDsObject

Parameters:

  • Name:

    自动化规则名称

  • Type:

    规则类型:用量类(101 当月|102有效期内)、位置类(201行政区|202移动距离)、网络质量类(301网络盲点)

  • IsActive:

    是否激活

  • Notice:

    触发动作:1 邮件 2 API请求 3 微信 4 停卡 5 地图标识为盲点

  • Email:

    邮箱

  • Url:

    推送的API地址

  • DataThreshold:

    用量阈值

  • District:

    行政区类型:1. 省份 2. 城市 3. 区

  • Distance:

    心跳移动距离阈值

  • SignalStrength:

    信号强度阈值

  • LostDay:

    盲点时间阈值,天

  • TagIDs:

    标签ID集合

  • SalePlan:

    资费计划



49
50
51
# File 'lib/v20210716/models.rb', line 49

def TagIDs
  @TagIDs
end

#TypeObject

Parameters:

  • Name:

    自动化规则名称

  • Type:

    规则类型:用量类(101 当月|102有效期内)、位置类(201行政区|202移动距离)、网络质量类(301网络盲点)

  • IsActive:

    是否激活

  • Notice:

    触发动作:1 邮件 2 API请求 3 微信 4 停卡 5 地图标识为盲点

  • Email:

    邮箱

  • Url:

    推送的API地址

  • DataThreshold:

    用量阈值

  • District:

    行政区类型:1. 省份 2. 城市 3. 区

  • Distance:

    心跳移动距离阈值

  • SignalStrength:

    信号强度阈值

  • LostDay:

    盲点时间阈值,天

  • TagIDs:

    标签ID集合

  • SalePlan:

    资费计划



49
50
51
# File 'lib/v20210716/models.rb', line 49

def Type
  @Type
end

#UrlObject

Parameters:

  • Name:

    自动化规则名称

  • Type:

    规则类型:用量类(101 当月|102有效期内)、位置类(201行政区|202移动距离)、网络质量类(301网络盲点)

  • IsActive:

    是否激活

  • Notice:

    触发动作:1 邮件 2 API请求 3 微信 4 停卡 5 地图标识为盲点

  • Email:

    邮箱

  • Url:

    推送的API地址

  • DataThreshold:

    用量阈值

  • District:

    行政区类型:1. 省份 2. 城市 3. 区

  • Distance:

    心跳移动距离阈值

  • SignalStrength:

    信号强度阈值

  • LostDay:

    盲点时间阈值,天

  • TagIDs:

    标签ID集合

  • SalePlan:

    资费计划



49
50
51
# File 'lib/v20210716/models.rb', line 49

def Url
  @Url
end

Instance Method Details

#deserialize(params) ⇒ Object



67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# File 'lib/v20210716/models.rb', line 67

def deserialize(params)
  @Name = params['Name']
  @Type = params['Type']
  @IsActive = params['IsActive']
  @Notice = params['Notice']
  @Email = params['Email']
  @Url = params['Url']
  @DataThreshold = params['DataThreshold']
  @District = params['District']
  @Distance = params['Distance']
  @SignalStrength = params['SignalStrength']
  @LostDay = params['LostDay']
  @TagIDs = params['TagIDs']
  @SalePlan = params['SalePlan']
end