Class: TencentCloud::Weilingwith::V20230427::LinkRuleInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Weilingwith::V20230427::LinkRuleInfo
- Defined in:
- lib/v20230427/models.rb
Overview
联动规则信息
Instance Attribute Summary collapse
- #ActionSet ⇒ Object
- #BeginDate ⇒ Object
- #EndDate ⇒ Object
- #EventSet ⇒ Object
- #Id ⇒ Object
- #Name ⇒ Object
- #Status ⇒ Object
- #ValidPeriod ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, name = nil, eventset = nil, actionset = nil, status = nil, begindate = nil, enddate = nil, validperiod = nil) ⇒ LinkRuleInfo
constructor
A new instance of LinkRuleInfo.
Constructor Details
#initialize(id = nil, name = nil, eventset = nil, actionset = nil, status = nil, begindate = nil, enddate = nil, validperiod = nil) ⇒ LinkRuleInfo
Returns a new instance of LinkRuleInfo.
5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 |
# File 'lib/v20230427/models.rb', line 5847 def initialize(id=nil, name=nil, eventset=nil, actionset=nil, status=nil, begindate=nil, enddate=nil, validperiod=nil) @Id = id @Name = name @EventSet = eventset @ActionSet = actionset @Status = status @BeginDate = begindate @EndDate = enddate @ValidPeriod = validperiod end |
Instance Attribute Details
#ActionSet ⇒ Object
5845 5846 5847 |
# File 'lib/v20230427/models.rb', line 5845 def ActionSet @ActionSet end |
#BeginDate ⇒ Object
5845 5846 5847 |
# File 'lib/v20230427/models.rb', line 5845 def BeginDate @BeginDate end |
#EndDate ⇒ Object
5845 5846 5847 |
# File 'lib/v20230427/models.rb', line 5845 def EndDate @EndDate end |
#EventSet ⇒ Object
5845 5846 5847 |
# File 'lib/v20230427/models.rb', line 5845 def EventSet @EventSet end |
#Id ⇒ Object
5845 5846 5847 |
# File 'lib/v20230427/models.rb', line 5845 def Id @Id end |
#Name ⇒ Object
5845 5846 5847 |
# File 'lib/v20230427/models.rb', line 5845 def Name @Name end |
#Status ⇒ Object
5845 5846 5847 |
# File 'lib/v20230427/models.rb', line 5845 def Status @Status end |
#ValidPeriod ⇒ Object
5845 5846 5847 |
# File 'lib/v20230427/models.rb', line 5845 def ValidPeriod @ValidPeriod end |
Instance Method Details
#deserialize(params) ⇒ Object
5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 |
# File 'lib/v20230427/models.rb', line 5858 def deserialize(params) @Id = params['Id'] @Name = params['Name'] unless params['EventSet'].nil? @EventSet = [] params['EventSet'].each do |i| event_tmp = Event.new event_tmp.deserialize(i) @EventSet << event_tmp end end unless params['ActionSet'].nil? @ActionSet = [] params['ActionSet'].each do |i| action_tmp = Action.new action_tmp.deserialize(i) @ActionSet << action_tmp end end @Status = params['Status'] @BeginDate = params['BeginDate'] @EndDate = params['EndDate'] @ValidPeriod = params['ValidPeriod'] end |