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
|