Class: TencentCloud::Ssl::V20191205::TCBEnvironment

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

Overview

TCB环境

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, source = nil, name = nil, status = nil) ⇒ TCBEnvironment

Returns a new instance of TCBEnvironment.



7494
7495
7496
7497
7498
7499
# File 'lib/v20191205/models.rb', line 7494

def initialize(id=nil, source=nil, name=nil, status=nil)
  @ID = id
  @Source = source
  @Name = name
  @Status = status
end

Instance Attribute Details

#IDObject

Parameters:

  • ID:

    唯一ID

  • Source:

    来源

  • Name:

    名称

  • Status:

    状态



7492
7493
7494
# File 'lib/v20191205/models.rb', line 7492

def ID
  @ID
end

#NameObject

Parameters:

  • ID:

    唯一ID

  • Source:

    来源

  • Name:

    名称

  • Status:

    状态



7492
7493
7494
# File 'lib/v20191205/models.rb', line 7492

def Name
  @Name
end

#SourceObject

Parameters:

  • ID:

    唯一ID

  • Source:

    来源

  • Name:

    名称

  • Status:

    状态



7492
7493
7494
# File 'lib/v20191205/models.rb', line 7492

def Source
  @Source
end

#StatusObject

Parameters:

  • ID:

    唯一ID

  • Source:

    来源

  • Name:

    名称

  • Status:

    状态



7492
7493
7494
# File 'lib/v20191205/models.rb', line 7492

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



7501
7502
7503
7504
7505
7506
# File 'lib/v20191205/models.rb', line 7501

def deserialize(params)
  @ID = params['ID']
  @Source = params['Source']
  @Name = params['Name']
  @Status = params['Status']
end