Class: TencentCloud::Aca::V20210323::DoctorInfo

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

Overview

医生信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(doctorid = nil, doctorname = nil, doctorphone = nil) ⇒ DoctorInfo

Returns a new instance of DoctorInfo.



377
378
379
380
381
# File 'lib/v20210323/models.rb', line 377

def initialize(doctorid=nil, doctorname=nil, doctorphone=nil)
  @DoctorId = doctorid
  @DoctorName = doctorname
  @DoctorPhone = doctorphone
end

Instance Attribute Details

#DoctorIdObject

Parameters:

  • DoctorId:

    医生ID

  • DoctorName:

    医生姓名

  • DoctorPhone:

    医生电话



375
376
377
# File 'lib/v20210323/models.rb', line 375

def DoctorId
  @DoctorId
end

#DoctorNameObject

Parameters:

  • DoctorId:

    医生ID

  • DoctorName:

    医生姓名

  • DoctorPhone:

    医生电话



375
376
377
# File 'lib/v20210323/models.rb', line 375

def DoctorName
  @DoctorName
end

#DoctorPhoneObject

Parameters:

  • DoctorId:

    医生ID

  • DoctorName:

    医生姓名

  • DoctorPhone:

    医生电话



375
376
377
# File 'lib/v20210323/models.rb', line 375

def DoctorPhone
  @DoctorPhone
end

Instance Method Details

#deserialize(params) ⇒ Object



383
384
385
386
387
# File 'lib/v20210323/models.rb', line 383

def deserialize(params)
  @DoctorId = params['DoctorId']
  @DoctorName = params['DoctorName']
  @DoctorPhone = params['DoctorPhone']
end