Class: TencentCloud::Tci::V20190318::CreatePersonRequest

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

Overview

CreatePerson请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(libraryid = nil, personname = nil, images = nil, jobnumber = nil, mail = nil, male = nil, personid = nil, phonenumber = nil, studentnumber = nil, urls = nil) ⇒ CreatePersonRequest



642
643
644
645
646
647
648
649
650
651
652
653
# File 'lib/v20190318/models.rb', line 642

def initialize(libraryid=nil, personname=nil, images=nil, jobnumber=nil, mail=nil, male=nil, personid=nil, phonenumber=nil, studentnumber=nil, urls=nil)
  @LibraryId = libraryid
  @PersonName = personname
  @Images = images
  @JobNumber = jobnumber
  @Mail = mail
  @Male = male
  @PersonId = personid
  @PhoneNumber = phonenumber
  @StudentNumber = studentnumber
  @Urls = urls
end

Instance Attribute Details

#ImagesObject



640
641
642
# File 'lib/v20190318/models.rb', line 640

def Images
  @Images
end

#JobNumberObject



640
641
642
# File 'lib/v20190318/models.rb', line 640

def JobNumber
  @JobNumber
end

#LibraryIdObject



640
641
642
# File 'lib/v20190318/models.rb', line 640

def LibraryId
  @LibraryId
end

#MailObject



640
641
642
# File 'lib/v20190318/models.rb', line 640

def Mail
  @Mail
end

#MaleObject



640
641
642
# File 'lib/v20190318/models.rb', line 640

def Male
  @Male
end

#PersonIdObject



640
641
642
# File 'lib/v20190318/models.rb', line 640

def PersonId
  @PersonId
end

#PersonNameObject



640
641
642
# File 'lib/v20190318/models.rb', line 640

def PersonName
  @PersonName
end

#PhoneNumberObject



640
641
642
# File 'lib/v20190318/models.rb', line 640

def PhoneNumber
  @PhoneNumber
end

#StudentNumberObject



640
641
642
# File 'lib/v20190318/models.rb', line 640

def StudentNumber
  @StudentNumber
end

#UrlsObject



640
641
642
# File 'lib/v20190318/models.rb', line 640

def Urls
  @Urls
end

Instance Method Details

#deserialize(params) ⇒ Object



655
656
657
658
659
660
661
662
663
664
665
666
# File 'lib/v20190318/models.rb', line 655

def deserialize(params)
  @LibraryId = params['LibraryId']
  @PersonName = params['PersonName']
  @Images = params['Images']
  @JobNumber = params['JobNumber']
  @Mail = params['Mail']
  @Male = params['Male']
  @PersonId = params['PersonId']
  @PhoneNumber = params['PhoneNumber']
  @StudentNumber = params['StudentNumber']
  @Urls = params['Urls']
end