Class: AWSCDK::Connect::CfnHoursOfOperation::HoursOfOperationsIdentifierProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Connect::CfnHoursOfOperation::HoursOfOperationsIdentifierProperty
- Defined in:
- connect/cfn_hours_of_operation.rb
Overview
Identifier for hours of operation.
Instance Attribute Summary collapse
-
#id ⇒ String
readonly
The identifier for the hours of operation.
-
#name ⇒ String?
readonly
The name of the hours of operation.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id:, name: nil) ⇒ HoursOfOperationsIdentifierProperty
constructor
A new instance of HoursOfOperationsIdentifierProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(id:, name: nil) ⇒ HoursOfOperationsIdentifierProperty
Returns a new instance of HoursOfOperationsIdentifierProperty.
874 875 876 877 878 879 |
# File 'connect/cfn_hours_of_operation.rb', line 874 def initialize(id:, name: nil) @id = id Jsii::Type.check_type(@id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "id") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil? end |
Instance Attribute Details
#id ⇒ String (readonly)
The identifier for the hours of operation.
885 886 887 |
# File 'connect/cfn_hours_of_operation.rb', line 885 def id @id end |
#name ⇒ String? (readonly)
The name of the hours of operation.
890 891 892 |
# File 'connect/cfn_hours_of_operation.rb', line 890 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
892 893 894 895 896 897 |
# File 'connect/cfn_hours_of_operation.rb', line 892 def self.jsii_properties { :id => "id", :name => "name", } end |
Instance Method Details
#to_jsii ⇒ Object
899 900 901 902 903 904 905 906 |
# File 'connect/cfn_hours_of_operation.rb', line 899 def to_jsii result = {} result.merge!({ "id" => @id, "name" => @name, }) result.compact end |