Class: TencentCloud::Youmall::V20180228::ModifyPersonFeatureInfoRequest

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

Overview

ModifyPersonFeatureInfo请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(companyid = nil, personid = nil, picture = nil, picturename = nil, persontype = nil, shopid = nil) ⇒ ModifyPersonFeatureInfoRequest

Returns a new instance of ModifyPersonFeatureInfoRequest.



2026
2027
2028
2029
2030
2031
2032
2033
# File 'lib/v20180228/models.rb', line 2026

def initialize(companyid=nil, personid=nil, picture=nil, picturename=nil, persontype=nil, shopid=nil)
  @CompanyId = companyid
  @PersonId = personid
  @Picture = picture
  @PictureName = picturename
  @PersonType = persontype
  @ShopId = shopid
end

Instance Attribute Details

#CompanyIdObject

Parameters:

  • CompanyId:

    集团ID

  • PersonId:

    需要修改的顾客id

  • Picture:

    图片BASE编码

  • PictureName:

    图片名称(尽量不要重复)

  • PersonType:

    人物类型,仅能操作黑白名单顾客(1 白名单,2 表示黑名单,101表示集团白名单,102表示集团黑名单)

  • ShopId:

    店铺ID,如果不填表示操作集团身份库



2024
2025
2026
# File 'lib/v20180228/models.rb', line 2024

def CompanyId
  @CompanyId
end

#PersonIdObject

Parameters:

  • CompanyId:

    集团ID

  • PersonId:

    需要修改的顾客id

  • Picture:

    图片BASE编码

  • PictureName:

    图片名称(尽量不要重复)

  • PersonType:

    人物类型,仅能操作黑白名单顾客(1 白名单,2 表示黑名单,101表示集团白名单,102表示集团黑名单)

  • ShopId:

    店铺ID,如果不填表示操作集团身份库



2024
2025
2026
# File 'lib/v20180228/models.rb', line 2024

def PersonId
  @PersonId
end

#PersonTypeObject

Parameters:

  • CompanyId:

    集团ID

  • PersonId:

    需要修改的顾客id

  • Picture:

    图片BASE编码

  • PictureName:

    图片名称(尽量不要重复)

  • PersonType:

    人物类型,仅能操作黑白名单顾客(1 白名单,2 表示黑名单,101表示集团白名单,102表示集团黑名单)

  • ShopId:

    店铺ID,如果不填表示操作集团身份库



2024
2025
2026
# File 'lib/v20180228/models.rb', line 2024

def PersonType
  @PersonType
end

#PictureObject

Parameters:

  • CompanyId:

    集团ID

  • PersonId:

    需要修改的顾客id

  • Picture:

    图片BASE编码

  • PictureName:

    图片名称(尽量不要重复)

  • PersonType:

    人物类型,仅能操作黑白名单顾客(1 白名单,2 表示黑名单,101表示集团白名单,102表示集团黑名单)

  • ShopId:

    店铺ID,如果不填表示操作集团身份库



2024
2025
2026
# File 'lib/v20180228/models.rb', line 2024

def Picture
  @Picture
end

#PictureNameObject

Parameters:

  • CompanyId:

    集团ID

  • PersonId:

    需要修改的顾客id

  • Picture:

    图片BASE编码

  • PictureName:

    图片名称(尽量不要重复)

  • PersonType:

    人物类型,仅能操作黑白名单顾客(1 白名单,2 表示黑名单,101表示集团白名单,102表示集团黑名单)

  • ShopId:

    店铺ID,如果不填表示操作集团身份库



2024
2025
2026
# File 'lib/v20180228/models.rb', line 2024

def PictureName
  @PictureName
end

#ShopIdObject

Parameters:

  • CompanyId:

    集团ID

  • PersonId:

    需要修改的顾客id

  • Picture:

    图片BASE编码

  • PictureName:

    图片名称(尽量不要重复)

  • PersonType:

    人物类型,仅能操作黑白名单顾客(1 白名单,2 表示黑名单,101表示集团白名单,102表示集团黑名单)

  • ShopId:

    店铺ID,如果不填表示操作集团身份库



2024
2025
2026
# File 'lib/v20180228/models.rb', line 2024

def ShopId
  @ShopId
end

Instance Method Details

#deserialize(params) ⇒ Object



2035
2036
2037
2038
2039
2040
2041
2042
# File 'lib/v20180228/models.rb', line 2035

def deserialize(params)
  @CompanyId = params['CompanyId']
  @PersonId = params['PersonId']
  @Picture = params['Picture']
  @PictureName = params['PictureName']
  @PersonType = params['PersonType']
  @ShopId = params['ShopId']
end