Class: TencentCloud::Scf::V20180416::StatusReason

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

Overview

状态原因描述

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(errorcode = nil, errormessage = nil) ⇒ StatusReason

Returns a new instance of StatusReason.



4544
4545
4546
4547
# File 'lib/v20180416/models.rb', line 4544

def initialize(errorcode=nil, errormessage=nil)
  @ErrorCode = errorcode
  @ErrorMessage = errormessage
end

Instance Attribute Details

#ErrorCode ⇒ Object

Parameters:

  • ErrorCode: —

    错误码

  • ErrorMessage: —

    错误描述



4542
4543
4544
# File 'lib/v20180416/models.rb', line 4542

def ErrorCode
  @ErrorCode
end

#ErrorMessage ⇒ Object

Parameters:

  • ErrorCode: —

    错误码

  • ErrorMessage: —

    错误描述



4542
4543
4544
# File 'lib/v20180416/models.rb', line 4542

def ErrorMessage
  @ErrorMessage
end

Instance Method Details

#deserialize(params) ⇒ Object



4549
4550
4551
4552
# File 'lib/v20180416/models.rb', line 4549

def deserialize(params)
  @ErrorCode = params['ErrorCode']
  @ErrorMessage = params['ErrorMessage']
end