Class: AWSCDK::RTBFabric::CfnLink::NoBidModuleParametersProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::RTBFabric::CfnLink::NoBidModuleParametersProperty
- Defined in:
- rtb_fabric/cfn_link.rb
Overview
Describes the parameters of a no bid module.
Instance Attribute Summary collapse
-
#pass_through_percentage ⇒ Numeric?
readonly
The pass through percentage.
-
#reason ⇒ String?
readonly
The reason description.
-
#reason_code ⇒ Numeric?
readonly
The reason code.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(pass_through_percentage: nil, reason: nil, reason_code: nil) ⇒ NoBidModuleParametersProperty
constructor
A new instance of NoBidModuleParametersProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(pass_through_percentage: nil, reason: nil, reason_code: nil) ⇒ NoBidModuleParametersProperty
Returns a new instance of NoBidModuleParametersProperty.
1082 1083 1084 1085 1086 1087 1088 1089 |
# File 'rtb_fabric/cfn_link.rb', line 1082 def initialize(pass_through_percentage: nil, reason: nil, reason_code: nil) @pass_through_percentage = pass_through_percentage Jsii::Type.check_type(@pass_through_percentage, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "passThroughPercentage") unless @pass_through_percentage.nil? @reason = reason Jsii::Type.check_type(@reason, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "reason") unless @reason.nil? @reason_code = reason_code Jsii::Type.check_type(@reason_code, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "reasonCode") unless @reason_code.nil? end |
Instance Attribute Details
#pass_through_percentage ⇒ Numeric? (readonly)
The pass through percentage.
1095 1096 1097 |
# File 'rtb_fabric/cfn_link.rb', line 1095 def pass_through_percentage @pass_through_percentage end |
#reason ⇒ String? (readonly)
The reason description.
1100 1101 1102 |
# File 'rtb_fabric/cfn_link.rb', line 1100 def reason @reason end |
#reason_code ⇒ Numeric? (readonly)
The reason code.
1105 1106 1107 |
# File 'rtb_fabric/cfn_link.rb', line 1105 def reason_code @reason_code end |
Class Method Details
.jsii_properties ⇒ Object
1107 1108 1109 1110 1111 1112 1113 |
# File 'rtb_fabric/cfn_link.rb', line 1107 def self.jsii_properties { :pass_through_percentage => "passThroughPercentage", :reason => "reason", :reason_code => "reasonCode", } end |
Instance Method Details
#to_jsii ⇒ Object
1115 1116 1117 1118 1119 1120 1121 1122 1123 |
# File 'rtb_fabric/cfn_link.rb', line 1115 def to_jsii result = {} result.merge!({ "passThroughPercentage" => @pass_through_percentage, "reason" => @reason, "reasonCode" => @reason_code, }) result.compact end |