Class: TencentCloud::Tem::V20201221::RestartServiceRunPodRequest

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

Overview

RestartServiceRunPod请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of RestartServiceRunPodRequest.



1689
1690
1691
1692
1693
1694
1695
1696
1697
# File 'lib/v20201221/models.rb', line 1689

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

Instance Attribute Details

#LimitObject

Parameters:

  • NamespaceId:

    环境id

  • ServiceId:

    服务名id

  • PodName:

    名字

  • Limit:

    单页条数

  • Offset:

    分页下标

  • Status:

    pod状态

  • SourceChannel:

    来源渠道



1687
1688
1689
# File 'lib/v20201221/models.rb', line 1687

def Limit
  @Limit
end

#NamespaceIdObject

Parameters:

  • NamespaceId:

    环境id

  • ServiceId:

    服务名id

  • PodName:

    名字

  • Limit:

    单页条数

  • Offset:

    分页下标

  • Status:

    pod状态

  • SourceChannel:

    来源渠道



1687
1688
1689
# File 'lib/v20201221/models.rb', line 1687

def NamespaceId
  @NamespaceId
end

#OffsetObject

Parameters:

  • NamespaceId:

    环境id

  • ServiceId:

    服务名id

  • PodName:

    名字

  • Limit:

    单页条数

  • Offset:

    分页下标

  • Status:

    pod状态

  • SourceChannel:

    来源渠道



1687
1688
1689
# File 'lib/v20201221/models.rb', line 1687

def Offset
  @Offset
end

#PodNameObject

Parameters:

  • NamespaceId:

    环境id

  • ServiceId:

    服务名id

  • PodName:

    名字

  • Limit:

    单页条数

  • Offset:

    分页下标

  • Status:

    pod状态

  • SourceChannel:

    来源渠道



1687
1688
1689
# File 'lib/v20201221/models.rb', line 1687

def PodName
  @PodName
end

#ServiceIdObject

Parameters:

  • NamespaceId:

    环境id

  • ServiceId:

    服务名id

  • PodName:

    名字

  • Limit:

    单页条数

  • Offset:

    分页下标

  • Status:

    pod状态

  • SourceChannel:

    来源渠道



1687
1688
1689
# File 'lib/v20201221/models.rb', line 1687

def ServiceId
  @ServiceId
end

#SourceChannelObject

Parameters:

  • NamespaceId:

    环境id

  • ServiceId:

    服务名id

  • PodName:

    名字

  • Limit:

    单页条数

  • Offset:

    分页下标

  • Status:

    pod状态

  • SourceChannel:

    来源渠道



1687
1688
1689
# File 'lib/v20201221/models.rb', line 1687

def SourceChannel
  @SourceChannel
end

#StatusObject

Parameters:

  • NamespaceId:

    环境id

  • ServiceId:

    服务名id

  • PodName:

    名字

  • Limit:

    单页条数

  • Offset:

    分页下标

  • Status:

    pod状态

  • SourceChannel:

    来源渠道



1687
1688
1689
# File 'lib/v20201221/models.rb', line 1687

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



1699
1700
1701
1702
1703
1704
1705
1706
1707
# File 'lib/v20201221/models.rb', line 1699

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