Class: TencentCloud::Cpdp::V20190820::ApplyFlexWechatPreAuthResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cpdp::V20190820::ApplyFlexWechatPreAuthResponse
- Defined in:
- lib/v20190820/models.rb
Overview
ApplyFlexWechatPreAuth返回参数结构体
Instance Attribute Summary collapse
-
#ErrCode ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ErrMessage ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Result ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(errcode = nil, errmessage = nil, result = nil, requestid = nil) ⇒ ApplyFlexWechatPreAuthResponse
constructor
A new instance of ApplyFlexWechatPreAuthResponse.
Constructor Details
#initialize(errcode = nil, errmessage = nil, result = nil, requestid = nil) ⇒ ApplyFlexWechatPreAuthResponse
Returns a new instance of ApplyFlexWechatPreAuthResponse.
1531 1532 1533 1534 1535 1536 |
# File 'lib/v20190820/models.rb', line 1531 def initialize(errcode=nil, =nil, result=nil, requestid=nil) @ErrCode = errcode @ErrMessage = @Result = result @RequestId = requestid end |
Instance Attribute Details
#ErrCode ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1529 1530 1531 |
# File 'lib/v20190820/models.rb', line 1529 def ErrCode @ErrCode end |
#ErrMessage ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1529 1530 1531 |
# File 'lib/v20190820/models.rb', line 1529 def ErrMessage @ErrMessage end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1529 1530 1531 |
# File 'lib/v20190820/models.rb', line 1529 def RequestId @RequestId end |
#Result ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1529 1530 1531 |
# File 'lib/v20190820/models.rb', line 1529 def Result @Result end |
Instance Method Details
#deserialize(params) ⇒ Object
1538 1539 1540 1541 1542 1543 1544 1545 1546 |
# File 'lib/v20190820/models.rb', line 1538 def deserialize(params) @ErrCode = params['ErrCode'] @ErrMessage = params['ErrMessage'] unless params['Result'].nil? @Result = WechatPreAuthResult.new @Result.deserialize(params['Result']) end @RequestId = params['RequestId'] end |