Class: TencentCloud::Ess::V20201111::CreateIntegrationEmployeesRequest

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

Overview

CreateIntegrationEmployees请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(operator = nil, employees = nil, agent = nil, invitationnotifytype = nil, jumpurl = nil, endpoint = nil) ⇒ CreateIntegrationEmployeesRequest

Returns a new instance of CreateIntegrationEmployeesRequest.



5431
5432
5433
5434
5435
5436
5437
5438
# File 'lib/v20201111/models.rb', line 5431

def initialize(operator=nil, employees=nil, agent=nil, invitationnotifytype=nil, jumpurl=nil, endpoint=nil)
  @Operator = operator
  @Employees = employees
  @Agent = agent
  @InvitationNotifyType = invitationnotifytype
  @JumpUrl = jumpurl
  @Endpoint = endpoint
end

Instance Attribute Details

#AgentObject

注:只有在员工邀请方式(InvitationNotifyType参数)为H5场景下才生效, 其他方式下设置无效。

Parameters:

  • Endpoint:

    要跳转的链接类型

    • HTTP:跳转电子签小程序的http_url, 短信通知或者H5跳转适合此类型 ,此时返回长链 (默认类型)
    • HTTP_SHORT_URL:跳转电子签小程序的http_url, 短信通知或者H5跳转适合此类型,此时返回短链
    • APP: 第三方APP或小程序跳转电子签小程序的path, APP或者小程序跳转适合此类型
    • H5: 第三方移动端浏览器进行嵌入,不支持小程序嵌入,过期时间一个月
    注意:InvitationNotifyType 和 Endpoint 的关系图
    通知类型(InvitationNotifyType)Endpoint
    SMS(默认)不需要传递,会将 Endpoint 默认设置为HTTP_SHORT_URL
    H5不需要传递,会将 Endpoint 默认设置为 H5
    NONE所有 Endpoint 都支持(HTTP_URL/HTTP_SHORT_URL/H5/APP)默认为HTTP_SHORT_URL



5429
5430
5431
# File 'lib/v20201111/models.rb', line 5429

def Agent
  @Agent
end

#EmployeesObject

注:只有在员工邀请方式(InvitationNotifyType参数)为H5场景下才生效, 其他方式下设置无效。

Parameters:

  • Endpoint:

    要跳转的链接类型

    • HTTP:跳转电子签小程序的http_url, 短信通知或者H5跳转适合此类型 ,此时返回长链 (默认类型)
    • HTTP_SHORT_URL:跳转电子签小程序的http_url, 短信通知或者H5跳转适合此类型,此时返回短链
    • APP: 第三方APP或小程序跳转电子签小程序的path, APP或者小程序跳转适合此类型
    • H5: 第三方移动端浏览器进行嵌入,不支持小程序嵌入,过期时间一个月
    注意:InvitationNotifyType 和 Endpoint 的关系图
    通知类型(InvitationNotifyType)Endpoint
    SMS(默认)不需要传递,会将 Endpoint 默认设置为HTTP_SHORT_URL
    H5不需要传递,会将 Endpoint 默认设置为 H5
    NONE所有 Endpoint 都支持(HTTP_URL/HTTP_SHORT_URL/H5/APP)默认为HTTP_SHORT_URL



5429
5430
5431
# File 'lib/v20201111/models.rb', line 5429

def Employees
  @Employees
end

#EndpointObject

注:只有在员工邀请方式(InvitationNotifyType参数)为H5场景下才生效, 其他方式下设置无效。

Parameters:

  • Endpoint:

    要跳转的链接类型

    • HTTP:跳转电子签小程序的http_url, 短信通知或者H5跳转适合此类型 ,此时返回长链 (默认类型)
    • HTTP_SHORT_URL:跳转电子签小程序的http_url, 短信通知或者H5跳转适合此类型,此时返回短链
    • APP: 第三方APP或小程序跳转电子签小程序的path, APP或者小程序跳转适合此类型
    • H5: 第三方移动端浏览器进行嵌入,不支持小程序嵌入,过期时间一个月
    注意:InvitationNotifyType 和 Endpoint 的关系图
    通知类型(InvitationNotifyType)Endpoint
    SMS(默认)不需要传递,会将 Endpoint 默认设置为HTTP_SHORT_URL
    H5不需要传递,会将 Endpoint 默认设置为 H5
    NONE所有 Endpoint 都支持(HTTP_URL/HTTP_SHORT_URL/H5/APP)默认为HTTP_SHORT_URL



5429
5430
5431
# File 'lib/v20201111/models.rb', line 5429

def Endpoint
  @Endpoint
end

#InvitationNotifyTypeObject

注:只有在员工邀请方式(InvitationNotifyType参数)为H5场景下才生效, 其他方式下设置无效。

Parameters:

  • Endpoint:

    要跳转的链接类型

    • HTTP:跳转电子签小程序的http_url, 短信通知或者H5跳转适合此类型 ,此时返回长链 (默认类型)
    • HTTP_SHORT_URL:跳转电子签小程序的http_url, 短信通知或者H5跳转适合此类型,此时返回短链
    • APP: 第三方APP或小程序跳转电子签小程序的path, APP或者小程序跳转适合此类型
    • H5: 第三方移动端浏览器进行嵌入,不支持小程序嵌入,过期时间一个月
    注意:InvitationNotifyType 和 Endpoint 的关系图
    通知类型(InvitationNotifyType)Endpoint
    SMS(默认)不需要传递,会将 Endpoint 默认设置为HTTP_SHORT_URL
    H5不需要传递,会将 Endpoint 默认设置为 H5
    NONE所有 Endpoint 都支持(HTTP_URL/HTTP_SHORT_URL/H5/APP)默认为HTTP_SHORT_URL



5429
5430
5431
# File 'lib/v20201111/models.rb', line 5429

def InvitationNotifyType
  @InvitationNotifyType
end

#JumpUrlObject

注:只有在员工邀请方式(InvitationNotifyType参数)为H5场景下才生效, 其他方式下设置无效。

Parameters:

  • Endpoint:

    要跳转的链接类型

    • HTTP:跳转电子签小程序的http_url, 短信通知或者H5跳转适合此类型 ,此时返回长链 (默认类型)
    • HTTP_SHORT_URL:跳转电子签小程序的http_url, 短信通知或者H5跳转适合此类型,此时返回短链
    • APP: 第三方APP或小程序跳转电子签小程序的path, APP或者小程序跳转适合此类型
    • H5: 第三方移动端浏览器进行嵌入,不支持小程序嵌入,过期时间一个月
    注意:InvitationNotifyType 和 Endpoint 的关系图
    通知类型(InvitationNotifyType)Endpoint
    SMS(默认)不需要传递,会将 Endpoint 默认设置为HTTP_SHORT_URL
    H5不需要传递,会将 Endpoint 默认设置为 H5
    NONE所有 Endpoint 都支持(HTTP_URL/HTTP_SHORT_URL/H5/APP)默认为HTTP_SHORT_URL



5429
5430
5431
# File 'lib/v20201111/models.rb', line 5429

def JumpUrl
  @JumpUrl
end

#OperatorObject

注:只有在员工邀请方式(InvitationNotifyType参数)为H5场景下才生效, 其他方式下设置无效。

Parameters:

  • Endpoint:

    要跳转的链接类型

    • HTTP:跳转电子签小程序的http_url, 短信通知或者H5跳转适合此类型 ,此时返回长链 (默认类型)
    • HTTP_SHORT_URL:跳转电子签小程序的http_url, 短信通知或者H5跳转适合此类型,此时返回短链
    • APP: 第三方APP或小程序跳转电子签小程序的path, APP或者小程序跳转适合此类型
    • H5: 第三方移动端浏览器进行嵌入,不支持小程序嵌入,过期时间一个月
    注意:InvitationNotifyType 和 Endpoint 的关系图
    通知类型(InvitationNotifyType)Endpoint
    SMS(默认)不需要传递,会将 Endpoint 默认设置为HTTP_SHORT_URL
    H5不需要传递,会将 Endpoint 默认设置为 H5
    NONE所有 Endpoint 都支持(HTTP_URL/HTTP_SHORT_URL/H5/APP)默认为HTTP_SHORT_URL



5429
5430
5431
# File 'lib/v20201111/models.rb', line 5429

def Operator
  @Operator
end

Instance Method Details

#deserialize(params) ⇒ Object



5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
# File 'lib/v20201111/models.rb', line 5440

def deserialize(params)
  unless params['Operator'].nil?
    @Operator = UserInfo.new
    @Operator.deserialize(params['Operator'])
  end
  unless params['Employees'].nil?
    @Employees = []
    params['Employees'].each do |i|
      staff_tmp = Staff.new
      staff_tmp.deserialize(i)
      @Employees << staff_tmp
    end
  end
  unless params['Agent'].nil?
    @Agent = Agent.new
    @Agent.deserialize(params['Agent'])
  end
  @InvitationNotifyType = params['InvitationNotifyType']
  @JumpUrl = params['JumpUrl']
  @Endpoint = params['Endpoint']
end