Class: TencentCloud::Ess::V20201111::CreateFlowSignReviewRequest

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

Overview

CreateFlowSignReview请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(operator = nil, flowid = nil, reviewtype = nil, agent = nil, recipientid = nil, operatetype = nil, reviewmessage = nil) ⇒ CreateFlowSignReviewRequest

Returns a new instance of CreateFlowSignReviewRequest.



5111
5112
5113
5114
5115
5116
5117
5118
5119
# File 'lib/v20201111/models.rb', line 5111

def initialize(operator=nil, flowid=nil, reviewtype=nil, agent=nil, recipientid=nil, operatetype=nil, reviewmessage=nil)
  @Operator = operator
  @FlowId = flowid
  @ReviewType = reviewtype
  @Agent = agent
  @RecipientId = recipientid
  @OperateType = operatetype
  @ReviewMessage = reviewmessage
end

Instance Attribute Details

#AgentObject

Returns the value of attribute Agent.



5109
5110
5111
# File 'lib/v20201111/models.rb', line 5109

def Agent
  @Agent
end

#FlowIdObject

Returns the value of attribute FlowId.



5109
5110
5111
# File 'lib/v20201111/models.rb', line 5109

def FlowId
  @FlowId
end

#OperateTypeObject

Returns the value of attribute OperateType.



5109
5110
5111
# File 'lib/v20201111/models.rb', line 5109

def OperateType
  @OperateType
end

#OperatorObject

Returns the value of attribute Operator.



5109
5110
5111
# File 'lib/v20201111/models.rb', line 5109

def Operator
  @Operator
end

#RecipientIdObject

Returns the value of attribute RecipientId.



5109
5110
5111
# File 'lib/v20201111/models.rb', line 5109

def RecipientId
  @RecipientId
end

#ReviewMessageObject

Returns the value of attribute ReviewMessage.



5109
5110
5111
# File 'lib/v20201111/models.rb', line 5109

def ReviewMessage
  @ReviewMessage
end

#ReviewTypeObject

Returns the value of attribute ReviewType.



5109
5110
5111
# File 'lib/v20201111/models.rb', line 5109

def ReviewType
  @ReviewType
end

Instance Method Details

#deserialize(params) ⇒ Object



5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
# File 'lib/v20201111/models.rb', line 5121

def deserialize(params)
  unless params['Operator'].nil?
    @Operator = UserInfo.new
    @Operator.deserialize(params['Operator'])
  end
  @FlowId = params['FlowId']
  @ReviewType = params['ReviewType']
  unless params['Agent'].nil?
    @Agent = Agent.new
    @Agent.deserialize(params['Agent'])
  end
  @RecipientId = params['RecipientId']
  @OperateType = params['OperateType']
  @ReviewMessage = params['ReviewMessage']
end