Class: TencentCloud::Ess::V20201111::FailedCreateStaffData

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

Overview

创建员工的失败数据

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(displayname = nil, mobile = nil, weworkopenid = nil, reason = nil) ⇒ FailedCreateStaffData

Returns a new instance of FailedCreateStaffData.



12517
12518
12519
12520
12521
12522
# File 'lib/v20201111/models.rb', line 12517

def initialize(displayname=nil, mobile=nil, weworkopenid=nil, reason=nil)
  @DisplayName = displayname
  @Mobile = mobile
  @WeworkOpenId = weworkopenid
  @Reason = reason
end

Instance Attribute Details

#DisplayNameObject

Parameters:

  • DisplayName:

    员工名

  • Mobile:

    员工手机号

  • WeworkOpenId:

    传入的企微账号id

  • Reason:

    失败原因



12515
12516
12517
# File 'lib/v20201111/models.rb', line 12515

def DisplayName
  @DisplayName
end

#MobileObject

Parameters:

  • DisplayName:

    员工名

  • Mobile:

    员工手机号

  • WeworkOpenId:

    传入的企微账号id

  • Reason:

    失败原因



12515
12516
12517
# File 'lib/v20201111/models.rb', line 12515

def Mobile
  @Mobile
end

#ReasonObject

Parameters:

  • DisplayName:

    员工名

  • Mobile:

    员工手机号

  • WeworkOpenId:

    传入的企微账号id

  • Reason:

    失败原因



12515
12516
12517
# File 'lib/v20201111/models.rb', line 12515

def Reason
  @Reason
end

#WeworkOpenIdObject

Parameters:

  • DisplayName:

    员工名

  • Mobile:

    员工手机号

  • WeworkOpenId:

    传入的企微账号id

  • Reason:

    失败原因



12515
12516
12517
# File 'lib/v20201111/models.rb', line 12515

def WeworkOpenId
  @WeworkOpenId
end

Instance Method Details

#deserialize(params) ⇒ Object



12524
12525
12526
12527
12528
12529
# File 'lib/v20201111/models.rb', line 12524

def deserialize(params)
  @DisplayName = params['DisplayName']
  @Mobile = params['Mobile']
  @WeworkOpenId = params['WeworkOpenId']
  @Reason = params['Reason']
end