Class: TencentCloud::Wedata::V20210820::DutyScheduleData

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

Overview

值班表列表

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, name = nil, creator = nil) ⇒ DutyScheduleData

Returns a new instance of DutyScheduleData.



18686
18687
18688
18689
18690
# File 'lib/v20210820/models.rb', line 18686

def initialize(id=nil, name=nil, creator=nil)
  @Id = id
  @Name = name
  @Creator = creator
end

Instance Attribute Details

#CreatorObject

Parameters:

  • Id:

    值班表Id

  • Name:

    值班表名称

  • Creator:

    创建人



18684
18685
18686
# File 'lib/v20210820/models.rb', line 18684

def Creator
  @Creator
end

#IdObject

Parameters:

  • Id:

    值班表Id

  • Name:

    值班表名称

  • Creator:

    创建人



18684
18685
18686
# File 'lib/v20210820/models.rb', line 18684

def Id
  @Id
end

#NameObject

Parameters:

  • Id:

    值班表Id

  • Name:

    值班表名称

  • Creator:

    创建人



18684
18685
18686
# File 'lib/v20210820/models.rb', line 18684

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



18692
18693
18694
18695
18696
# File 'lib/v20210820/models.rb', line 18692

def deserialize(params)
  @Id = params['Id']
  @Name = params['Name']
  @Creator = params['Creator']
end