Class: TencentCloud::Tem::V20201221::DescribeServiceRunPodListV2Request

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

Overview

DescribeServiceRunPodListV2请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(namespaceid = nil, serviceid = nil, limit = nil, offset = nil, status = nil, podname = nil, sourcechannel = nil) ⇒ DescribeServiceRunPodListV2Request

Returns a new instance of DescribeServiceRunPodListV2Request.



945
946
947
948
949
950
951
952
953
# File 'lib/v20201221/models.rb', line 945

def initialize(namespaceid=nil, serviceid=nil, limit=nil, offset=nil, status=nil, podname=nil, sourcechannel=nil)
  @NamespaceId = namespaceid
  @ServiceId = serviceid
  @Limit = limit
  @Offset = offset
  @Status = status
  @PodName = podname
  @SourceChannel = sourcechannel
end

Instance Attribute Details

#LimitObject

  • Running

  • Pending

  • Error

Parameters:

  • NamespaceId:

    环境id

  • ServiceId:

    服务名id

  • Limit:

    单页条数,默认值20

  • Offset:

    分页下标,默认值0

  • Status:

    实例状态

  • PodName:

    实例名字

  • SourceChannel:

    来源渠道



943
944
945
# File 'lib/v20201221/models.rb', line 943

def Limit
  @Limit
end

#NamespaceIdObject

  • Running

  • Pending

  • Error

Parameters:

  • NamespaceId:

    环境id

  • ServiceId:

    服务名id

  • Limit:

    单页条数,默认值20

  • Offset:

    分页下标,默认值0

  • Status:

    实例状态

  • PodName:

    实例名字

  • SourceChannel:

    来源渠道



943
944
945
# File 'lib/v20201221/models.rb', line 943

def NamespaceId
  @NamespaceId
end

#OffsetObject

  • Running

  • Pending

  • Error

Parameters:

  • NamespaceId:

    环境id

  • ServiceId:

    服务名id

  • Limit:

    单页条数,默认值20

  • Offset:

    分页下标,默认值0

  • Status:

    实例状态

  • PodName:

    实例名字

  • SourceChannel:

    来源渠道



943
944
945
# File 'lib/v20201221/models.rb', line 943

def Offset
  @Offset
end

#PodNameObject

  • Running

  • Pending

  • Error

Parameters:

  • NamespaceId:

    环境id

  • ServiceId:

    服务名id

  • Limit:

    单页条数,默认值20

  • Offset:

    分页下标,默认值0

  • Status:

    实例状态

  • PodName:

    实例名字

  • SourceChannel:

    来源渠道



943
944
945
# File 'lib/v20201221/models.rb', line 943

def PodName
  @PodName
end

#ServiceIdObject

  • Running

  • Pending

  • Error

Parameters:

  • NamespaceId:

    环境id

  • ServiceId:

    服务名id

  • Limit:

    单页条数,默认值20

  • Offset:

    分页下标,默认值0

  • Status:

    实例状态

  • PodName:

    实例名字

  • SourceChannel:

    来源渠道



943
944
945
# File 'lib/v20201221/models.rb', line 943

def ServiceId
  @ServiceId
end

#SourceChannelObject

  • Running

  • Pending

  • Error

Parameters:

  • NamespaceId:

    环境id

  • ServiceId:

    服务名id

  • Limit:

    单页条数,默认值20

  • Offset:

    分页下标,默认值0

  • Status:

    实例状态

  • PodName:

    实例名字

  • SourceChannel:

    来源渠道



943
944
945
# File 'lib/v20201221/models.rb', line 943

def SourceChannel
  @SourceChannel
end

#StatusObject

  • Running

  • Pending

  • Error

Parameters:

  • NamespaceId:

    环境id

  • ServiceId:

    服务名id

  • Limit:

    单页条数,默认值20

  • Offset:

    分页下标,默认值0

  • Status:

    实例状态

  • PodName:

    实例名字

  • SourceChannel:

    来源渠道



943
944
945
# File 'lib/v20201221/models.rb', line 943

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



955
956
957
958
959
960
961
962
963
# File 'lib/v20201221/models.rb', line 955

def deserialize(params)
  @NamespaceId = params['NamespaceId']
  @ServiceId = params['ServiceId']
  @Limit = params['Limit']
  @Offset = params['Offset']
  @Status = params['Status']
  @PodName = params['PodName']
  @SourceChannel = params['SourceChannel']
end