Class: AWSCDK::Apptest::CfnTestCase::TestCaseLatestVersionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Apptest::CfnTestCase::TestCaseLatestVersionProperty
- Defined in:
- apptest/cfn_test_case.rb
Overview
Specifies the latest version of a test case.
Instance Attribute Summary collapse
-
#status ⇒ String
readonly
The status of the test case latest version.
-
#version ⇒ Numeric
readonly
The version of the test case latest version.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(status:, version:) ⇒ TestCaseLatestVersionProperty
constructor
A new instance of TestCaseLatestVersionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(status:, version:) ⇒ TestCaseLatestVersionProperty
Returns a new instance of TestCaseLatestVersionProperty.
1679 1680 1681 1682 1683 1684 |
# File 'apptest/cfn_test_case.rb', line 1679 def initialize(status:, version:) @status = status Jsii::Type.check_type(@status, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "status") @version = version Jsii::Type.check_type(@version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "version") end |
Instance Attribute Details
#status ⇒ String (readonly)
The status of the test case latest version.
1690 1691 1692 |
# File 'apptest/cfn_test_case.rb', line 1690 def status @status end |
#version ⇒ Numeric (readonly)
The version of the test case latest version.
1695 1696 1697 |
# File 'apptest/cfn_test_case.rb', line 1695 def version @version end |
Class Method Details
.jsii_properties ⇒ Object
1697 1698 1699 1700 1701 1702 |
# File 'apptest/cfn_test_case.rb', line 1697 def self.jsii_properties { :status => "status", :version => "version", } end |
Instance Method Details
#to_jsii ⇒ Object
1704 1705 1706 1707 1708 1709 1710 1711 |
# File 'apptest/cfn_test_case.rb', line 1704 def to_jsii result = {} result.merge!({ "status" => @status, "version" => @version, }) result.compact end |