Class: TencentCloud::Tia::V20180226::Model
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tia::V20180226::Model
- Defined in:
- lib/v20180226/models.rb
Overview
用于描述模型的详细情况
"Model": {
"Name": "test-model",
"Description": "test-model",
"Cluster": "ap-beijing",
"Model": "cos://test-1255502019.cos.ap-shanghai.myqcloud.com/example:/data/mnist",
"RuntimeVersion": "tiaserv-1.6.0-cpu",
"CreateTime": "2018-04-26 15:59:25 +0800 CST",
"State": "Running",
"ServingUrl": "140.143.51.230",
"Message": "Deployment does not have minimum availability.",
"AppId": 1255502019,
"ServType": "1U2G0P"
},
Instance Attribute Summary collapse
- #AppId ⇒ Object
- #Cluster ⇒ Object
- #CreateTime ⇒ Object
- #DelTime ⇒ Object
- #Description ⇒ Object
- #Expose ⇒ Object
- #Id ⇒ Object
- #Message ⇒ Object
- #Model ⇒ Object
- #Name ⇒ Object
- #Replicas ⇒ Object
- #RuntimeVersion ⇒ Object
- #ServingUrl ⇒ Object
- #ServType ⇒ Object
- #State ⇒ Object
- #Uin ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, description = nil, cluster = nil, model = nil, runtimeversion = nil, createtime = nil, state = nil, servingurl = nil, message = nil, appid = nil, servtype = nil, expose = nil, replicas = nil, id = nil, uin = nil, deltime = nil) ⇒ Model
constructor
A new instance of Model.
Constructor Details
#initialize(name = nil, description = nil, cluster = nil, model = nil, runtimeversion = nil, createtime = nil, state = nil, servingurl = nil, message = nil, appid = nil, servtype = nil, expose = nil, replicas = nil, id = nil, uin = nil, deltime = nil) ⇒ Model
Returns a new instance of Model.
688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 |
# File 'lib/v20180226/models.rb', line 688 def initialize(name=nil, description=nil, cluster=nil, model=nil, runtimeversion=nil, createtime=nil, state=nil, servingurl=nil, =nil, appid=nil, servtype=nil, expose=nil, replicas=nil, id=nil, uin=nil, deltime=nil) @Name = name @Description = description @Cluster = cluster @Model = model @RuntimeVersion = runtimeversion @CreateTime = createtime @State = state @ServingUrl = servingurl @Message = @AppId = appid @ServType = servtype @Expose = expose @Replicas = replicas @Id = id @Uin = uin @DelTime = deltime end |
Instance Attribute Details
#AppId ⇒ Object
686 687 688 |
# File 'lib/v20180226/models.rb', line 686 def AppId @AppId end |
#Cluster ⇒ Object
686 687 688 |
# File 'lib/v20180226/models.rb', line 686 def Cluster @Cluster end |
#CreateTime ⇒ Object
686 687 688 |
# File 'lib/v20180226/models.rb', line 686 def CreateTime @CreateTime end |
#DelTime ⇒ Object
686 687 688 |
# File 'lib/v20180226/models.rb', line 686 def DelTime @DelTime end |
#Description ⇒ Object
686 687 688 |
# File 'lib/v20180226/models.rb', line 686 def Description @Description end |
#Expose ⇒ Object
686 687 688 |
# File 'lib/v20180226/models.rb', line 686 def Expose @Expose end |
#Id ⇒ Object
686 687 688 |
# File 'lib/v20180226/models.rb', line 686 def Id @Id end |
#Message ⇒ Object
686 687 688 |
# File 'lib/v20180226/models.rb', line 686 def Message @Message end |
#Model ⇒ Object
686 687 688 |
# File 'lib/v20180226/models.rb', line 686 def Model @Model end |
#Name ⇒ Object
686 687 688 |
# File 'lib/v20180226/models.rb', line 686 def Name @Name end |
#Replicas ⇒ Object
686 687 688 |
# File 'lib/v20180226/models.rb', line 686 def Replicas @Replicas end |
#RuntimeVersion ⇒ Object
686 687 688 |
# File 'lib/v20180226/models.rb', line 686 def RuntimeVersion @RuntimeVersion end |
#ServingUrl ⇒ Object
686 687 688 |
# File 'lib/v20180226/models.rb', line 686 def ServingUrl @ServingUrl end |
#ServType ⇒ Object
686 687 688 |
# File 'lib/v20180226/models.rb', line 686 def ServType @ServType end |
#State ⇒ Object
686 687 688 |
# File 'lib/v20180226/models.rb', line 686 def State @State end |
#Uin ⇒ Object
686 687 688 |
# File 'lib/v20180226/models.rb', line 686 def Uin @Uin end |
Instance Method Details
#deserialize(params) ⇒ Object
707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 |
# File 'lib/v20180226/models.rb', line 707 def deserialize(params) @Name = params['Name'] @Description = params['Description'] @Cluster = params['Cluster'] @Model = params['Model'] @RuntimeVersion = params['RuntimeVersion'] @CreateTime = params['CreateTime'] @State = params['State'] @ServingUrl = params['ServingUrl'] @Message = params['Message'] @AppId = params['AppId'] @ServType = params['ServType'] @Expose = params['Expose'] @Replicas = params['Replicas'] @Id = params['Id'] @Uin = params['Uin'] @DelTime = params['DelTime'] end |