Class: TencentCloud::Apigateway::V20180808::UsagePlan
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apigateway::V20180808::UsagePlan
- Defined in:
- lib/v20180808/models.rb
Overview
usagePlan详情
Instance Attribute Summary collapse
-
#CreatedTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Environment ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#MaxRequestNumPreSec ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ModifiedTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#UsagePlanDesc ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#UsagePlanId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#UsagePlanName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(environment = nil, usageplanid = nil, usageplanname = nil, usageplandesc = nil, maxrequestnumpresec = nil, createdtime = nil, modifiedtime = nil) ⇒ UsagePlan
constructor
A new instance of UsagePlan.
Constructor Details
#initialize(environment = nil, usageplanid = nil, usageplanname = nil, usageplandesc = nil, maxrequestnumpresec = nil, createdtime = nil, modifiedtime = nil) ⇒ UsagePlan
Returns a new instance of UsagePlan.
9791 9792 9793 9794 9795 9796 9797 9798 9799 |
# File 'lib/v20180808/models.rb', line 9791 def initialize(environment=nil, usageplanid=nil, usageplanname=nil, usageplandesc=nil, maxrequestnumpresec=nil, createdtime=nil, modifiedtime=nil) @Environment = environment @UsagePlanId = usageplanid @UsagePlanName = usageplanname @UsagePlanDesc = usageplandesc @MaxRequestNumPreSec = maxrequestnumpresec @CreatedTime = createdtime @ModifiedTime = modifiedtime end |
Instance Attribute Details
#CreatedTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9789 9790 9791 |
# File 'lib/v20180808/models.rb', line 9789 def CreatedTime @CreatedTime end |
#Environment ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9789 9790 9791 |
# File 'lib/v20180808/models.rb', line 9789 def Environment @Environment end |
#MaxRequestNumPreSec ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9789 9790 9791 |
# File 'lib/v20180808/models.rb', line 9789 def MaxRequestNumPreSec @MaxRequestNumPreSec end |
#ModifiedTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9789 9790 9791 |
# File 'lib/v20180808/models.rb', line 9789 def ModifiedTime @ModifiedTime end |
#UsagePlanDesc ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9789 9790 9791 |
# File 'lib/v20180808/models.rb', line 9789 def UsagePlanDesc @UsagePlanDesc end |
#UsagePlanId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9789 9790 9791 |
# File 'lib/v20180808/models.rb', line 9789 def UsagePlanId @UsagePlanId end |
#UsagePlanName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9789 9790 9791 |
# File 'lib/v20180808/models.rb', line 9789 def UsagePlanName @UsagePlanName end |
Instance Method Details
#deserialize(params) ⇒ Object
9801 9802 9803 9804 9805 9806 9807 9808 9809 |
# File 'lib/v20180808/models.rb', line 9801 def deserialize(params) @Environment = params['Environment'] @UsagePlanId = params['UsagePlanId'] @UsagePlanName = params['UsagePlanName'] @UsagePlanDesc = params['UsagePlanDesc'] @MaxRequestNumPreSec = params['MaxRequestNumPreSec'] @CreatedTime = params['CreatedTime'] @ModifiedTime = params['ModifiedTime'] end |