Class: TencentCloud::Tcr::V20190924::Region

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

Overview

地域信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(_alias = nil, regionid = nil, regionname = nil, status = nil, remark = nil, createdat = nil, updatedat = nil, id = nil) ⇒ Region

Returns a new instance of Region.



6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
# File 'lib/v20190924/models.rb', line 6043

def initialize(_alias=nil, regionid=nil, regionname=nil, status=nil, remark=nil, createdat=nil, updatedat=nil, id=nil)
  @Alias = _alias
  @RegionId = regionid
  @RegionName = regionname
  @Status = status
  @Remark = remark
  @CreatedAt = createdat
  @UpdatedAt = updatedat
  @Id = id
end

Instance Attribute Details

#Alias ⇒ Object

Parameters:

  • Alias: —

    gz

  • RegionId: —

    1

  • RegionName: —

    ap-guangzhou

  • Status: —

    alluser

  • Remark: —

    remark

  • CreatedAt: —

    创建时间

  • UpdatedAt: —

    更新时间

  • Id: —

    id



6041
6042
6043
# File 'lib/v20190924/models.rb', line 6041

def Alias
  @Alias
end

#CreatedAt ⇒ Object

Parameters:

  • Alias: —

    gz

  • RegionId: —

    1

  • RegionName: —

    ap-guangzhou

  • Status: —

    alluser

  • Remark: —

    remark

  • CreatedAt: —

    创建时间

  • UpdatedAt: —

    更新时间

  • Id: —

    id



6041
6042
6043
# File 'lib/v20190924/models.rb', line 6041

def CreatedAt
  @CreatedAt
end

#Id ⇒ Object

Parameters:

  • Alias: —

    gz

  • RegionId: —

    1

  • RegionName: —

    ap-guangzhou

  • Status: —

    alluser

  • Remark: —

    remark

  • CreatedAt: —

    创建时间

  • UpdatedAt: —

    更新时间

  • Id: —

    id



6041
6042
6043
# File 'lib/v20190924/models.rb', line 6041

def Id
  @Id
end

#RegionId ⇒ Object

Parameters:

  • Alias: —

    gz

  • RegionId: —

    1

  • RegionName: —

    ap-guangzhou

  • Status: —

    alluser

  • Remark: —

    remark

  • CreatedAt: —

    创建时间

  • UpdatedAt: —

    更新时间

  • Id: —

    id



6041
6042
6043
# File 'lib/v20190924/models.rb', line 6041

def RegionId
  @RegionId
end

#RegionName ⇒ Object

Parameters:

  • Alias: —

    gz

  • RegionId: —

    1

  • RegionName: —

    ap-guangzhou

  • Status: —

    alluser

  • Remark: —

    remark

  • CreatedAt: —

    创建时间

  • UpdatedAt: —

    更新时间

  • Id: —

    id



6041
6042
6043
# File 'lib/v20190924/models.rb', line 6041

def RegionName
  @RegionName
end

#Remark ⇒ Object

Parameters:

  • Alias: —

    gz

  • RegionId: —

    1

  • RegionName: —

    ap-guangzhou

  • Status: —

    alluser

  • Remark: —

    remark

  • CreatedAt: —

    创建时间

  • UpdatedAt: —

    更新时间

  • Id: —

    id



6041
6042
6043
# File 'lib/v20190924/models.rb', line 6041

def Remark
  @Remark
end

#Status ⇒ Object

Parameters:

  • Alias: —

    gz

  • RegionId: —

    1

  • RegionName: —

    ap-guangzhou

  • Status: —

    alluser

  • Remark: —

    remark

  • CreatedAt: —

    创建时间

  • UpdatedAt: —

    更新时间

  • Id: —

    id



6041
6042
6043
# File 'lib/v20190924/models.rb', line 6041

def Status
  @Status
end

#UpdatedAt ⇒ Object

Parameters:

  • Alias: —

    gz

  • RegionId: —

    1

  • RegionName: —

    ap-guangzhou

  • Status: —

    alluser

  • Remark: —

    remark

  • CreatedAt: —

    创建时间

  • UpdatedAt: —

    更新时间

  • Id: —

    id



6041
6042
6043
# File 'lib/v20190924/models.rb', line 6041

def UpdatedAt
  @UpdatedAt
end

Instance Method Details

#deserialize(params) ⇒ Object



6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
# File 'lib/v20190924/models.rb', line 6054

def deserialize(params)
  @Alias = params['Alias']
  @RegionId = params['RegionId']
  @RegionName = params['RegionName']
  @Status = params['Status']
  @Remark = params['Remark']
  @CreatedAt = params['CreatedAt']
  @UpdatedAt = params['UpdatedAt']
  @Id = params['Id']
end