Class: AWSCDK::Apptest::CfnTestCase::TestCaseLatestVersionProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
apptest/cfn_test_case.rb

Overview

Specifies the latest version of a test case.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status:, version:) ⇒ TestCaseLatestVersionProperty

Returns a new instance of TestCaseLatestVersionProperty.

Parameters:

  • status (String)

    The status of the test case latest version.

  • version (Numeric)

    The version of the test case latest version.



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

#statusString (readonly)

The status of the test case latest version.



1690
1691
1692
# File 'apptest/cfn_test_case.rb', line 1690

def status
  @status
end

#versionNumeric (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_propertiesObject



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_jsiiObject



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