Class: TencentCloud::Apm::V20210622::DescribeApmServiceMetricRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apm::V20210622::DescribeApmServiceMetricRequest
- Defined in:
- lib/v20210622/models.rb
Overview
DescribeApmServiceMetric请求参数结构体
Instance Attribute Summary collapse
- #Demo ⇒ Object
- #EndTime ⇒ Object
- #Filters ⇒ Object
- #InstanceId ⇒ Object
- #OrderBy ⇒ Object
- #Page ⇒ Object
- #PageSize ⇒ Object
- #ServiceID ⇒ Object
- #ServiceName ⇒ Object
- #ServiceStatus ⇒ Object
- #StartTime ⇒ Object
- #Tags ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, servicename = nil, serviceid = nil, starttime = nil, endtime = nil, orderby = nil, demo = nil, servicestatus = nil, tags = nil, page = nil, pagesize = nil, filters = nil) ⇒ DescribeApmServiceMetricRequest
constructor
A new instance of DescribeApmServiceMetricRequest.
Constructor Details
#initialize(instanceid = nil, servicename = nil, serviceid = nil, starttime = nil, endtime = nil, orderby = nil, demo = nil, servicestatus = nil, tags = nil, page = nil, pagesize = nil, filters = nil) ⇒ DescribeApmServiceMetricRequest
Returns a new instance of DescribeApmServiceMetricRequest.
1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 |
# File 'lib/v20210622/models.rb', line 1875 def initialize(instanceid=nil, servicename=nil, serviceid=nil, starttime=nil, endtime=nil, orderby=nil, demo=nil, servicestatus=nil, =nil, page=nil, pagesize=nil, filters=nil) @InstanceId = instanceid @ServiceName = servicename @ServiceID = serviceid @StartTime = starttime @EndTime = endtime @OrderBy = orderby @Demo = demo @ServiceStatus = servicestatus @Tags = @Page = page @PageSize = pagesize @Filters = filters end |
Instance Attribute Details
#Demo ⇒ Object
1873 1874 1875 |
# File 'lib/v20210622/models.rb', line 1873 def Demo @Demo end |
#EndTime ⇒ Object
1873 1874 1875 |
# File 'lib/v20210622/models.rb', line 1873 def EndTime @EndTime end |
#Filters ⇒ Object
1873 1874 1875 |
# File 'lib/v20210622/models.rb', line 1873 def Filters @Filters end |
#InstanceId ⇒ Object
1873 1874 1875 |
# File 'lib/v20210622/models.rb', line 1873 def InstanceId @InstanceId end |
#OrderBy ⇒ Object
1873 1874 1875 |
# File 'lib/v20210622/models.rb', line 1873 def OrderBy @OrderBy end |
#Page ⇒ Object
1873 1874 1875 |
# File 'lib/v20210622/models.rb', line 1873 def Page @Page end |
#PageSize ⇒ Object
1873 1874 1875 |
# File 'lib/v20210622/models.rb', line 1873 def PageSize @PageSize end |
#ServiceID ⇒ Object
1873 1874 1875 |
# File 'lib/v20210622/models.rb', line 1873 def ServiceID @ServiceID end |
#ServiceName ⇒ Object
1873 1874 1875 |
# File 'lib/v20210622/models.rb', line 1873 def ServiceName @ServiceName end |
#ServiceStatus ⇒ Object
1873 1874 1875 |
# File 'lib/v20210622/models.rb', line 1873 def ServiceStatus @ServiceStatus end |
#StartTime ⇒ Object
1873 1874 1875 |
# File 'lib/v20210622/models.rb', line 1873 def StartTime @StartTime end |
#Tags ⇒ Object
1873 1874 1875 |
# File 'lib/v20210622/models.rb', line 1873 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 |
# File 'lib/v20210622/models.rb', line 1890 def deserialize(params) @InstanceId = params['InstanceId'] @ServiceName = params['ServiceName'] @ServiceID = params['ServiceID'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] unless params['OrderBy'].nil? @OrderBy = OrderBy.new @OrderBy.deserialize(params['OrderBy']) end @Demo = params['Demo'] @ServiceStatus = params['ServiceStatus'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| apmtag_tmp = ApmTag.new apmtag_tmp.deserialize(i) @Tags << apmtag_tmp end end @Page = params['Page'] @PageSize = params['PageSize'] unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| filter_tmp = Filter.new filter_tmp.deserialize(i) @Filters << filter_tmp end end end |