Class: AWSCDK::CustomerProfiles::CfnSegmentDefinition::ProfileAttributesProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
customer_profiles/cfn_segment_definition.rb

Overview

The object used to segment on attributes within the customer profile.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(account_number: nil, additional_information: nil, address: nil, attributes: nil, billing_address: nil, birth_date: nil, business_email_address: nil, business_name: nil, business_phone_number: nil, email_address: nil, first_name: nil, gender_string: nil, home_phone_number: nil, last_name: nil, mailing_address: nil, middle_name: nil, mobile_phone_number: nil, party_type_string: nil, personal_email_address: nil, phone_number: nil, profile_type: nil, shipping_address: nil) ⇒ ProfileAttributesProperty

Returns a new instance of ProfileAttributesProperty.

Parameters:



1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
# File 'customer_profiles/cfn_segment_definition.rb', line 1055

def initialize(account_number: nil, additional_information: nil, address: nil, attributes: nil, billing_address: nil, birth_date: nil, business_email_address: nil, business_name: nil, business_phone_number: nil, email_address: nil, first_name: nil, gender_string: nil, home_phone_number: nil, last_name: nil, mailing_address: nil, middle_name: nil, mobile_phone_number: nil, party_type_string: nil, personal_email_address: nil, phone_number: nil, profile_type: nil, shipping_address: nil)
  @account_number = .is_a?(Hash) ? ::AWSCDK::CustomerProfiles::CfnSegmentDefinition::ProfileDimensionProperty.new(**.transform_keys(&:to_sym)) : 
  Jsii::Type.check_type(@account_number, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jdXN0b21lcnByb2ZpbGVzLkNmblNlZ21lbnREZWZpbml0aW9uLlByb2ZpbGVEaW1lbnNpb25Qcm9wZXJ0eSJ9XX19")), "accountNumber") unless @account_number.nil?
  @additional_information = additional_information.is_a?(Hash) ? ::AWSCDK::CustomerProfiles::CfnSegmentDefinition::ExtraLengthValueProfileDimensionProperty.new(**additional_information.transform_keys(&:to_sym)) : additional_information
  Jsii::Type.check_type(@additional_information, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jdXN0b21lcnByb2ZpbGVzLkNmblNlZ21lbnREZWZpbml0aW9uLkV4dHJhTGVuZ3RoVmFsdWVQcm9maWxlRGltZW5zaW9uUHJvcGVydHkifV19fQ==")), "additionalInformation") unless @additional_information.nil?
  @address = address.is_a?(Hash) ? ::AWSCDK::CustomerProfiles::CfnSegmentDefinition::AddressDimensionProperty.new(**address.transform_keys(&:to_sym)) : address
  Jsii::Type.check_type(@address, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jdXN0b21lcnByb2ZpbGVzLkNmblNlZ21lbnREZWZpbml0aW9uLkFkZHJlc3NEaW1lbnNpb25Qcm9wZXJ0eSJ9XX19")), "address") unless @address.nil?
  @attributes = attributes
  Jsii::Type.check_type(@attributes, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY3VzdG9tZXJwcm9maWxlcy5DZm5TZWdtZW50RGVmaW5pdGlvbi5BdHRyaWJ1dGVEaW1lbnNpb25Qcm9wZXJ0eSJ9XX19LCJraW5kIjoibWFwIn19XX19")), "attributes") unless @attributes.nil?
  @billing_address = billing_address.is_a?(Hash) ? ::AWSCDK::CustomerProfiles::CfnSegmentDefinition::AddressDimensionProperty.new(**billing_address.transform_keys(&:to_sym)) : billing_address
  Jsii::Type.check_type(@billing_address, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jdXN0b21lcnByb2ZpbGVzLkNmblNlZ21lbnREZWZpbml0aW9uLkFkZHJlc3NEaW1lbnNpb25Qcm9wZXJ0eSJ9XX19")), "billingAddress") unless @billing_address.nil?
  @birth_date = birth_date.is_a?(Hash) ? ::AWSCDK::CustomerProfiles::CfnSegmentDefinition::DateDimensionProperty.new(**birth_date.transform_keys(&:to_sym)) : birth_date
  Jsii::Type.check_type(@birth_date, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jdXN0b21lcnByb2ZpbGVzLkNmblNlZ21lbnREZWZpbml0aW9uLkRhdGVEaW1lbnNpb25Qcm9wZXJ0eSJ9XX19")), "birthDate") unless @birth_date.nil?
  @business_email_address = business_email_address.is_a?(Hash) ? ::AWSCDK::CustomerProfiles::CfnSegmentDefinition::ProfileDimensionProperty.new(**business_email_address.transform_keys(&:to_sym)) : business_email_address
  Jsii::Type.check_type(@business_email_address, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jdXN0b21lcnByb2ZpbGVzLkNmblNlZ21lbnREZWZpbml0aW9uLlByb2ZpbGVEaW1lbnNpb25Qcm9wZXJ0eSJ9XX19")), "businessEmailAddress") unless @business_email_address.nil?
  @business_name = business_name.is_a?(Hash) ? ::AWSCDK::CustomerProfiles::CfnSegmentDefinition::ProfileDimensionProperty.new(**business_name.transform_keys(&:to_sym)) : business_name
  Jsii::Type.check_type(@business_name, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jdXN0b21lcnByb2ZpbGVzLkNmblNlZ21lbnREZWZpbml0aW9uLlByb2ZpbGVEaW1lbnNpb25Qcm9wZXJ0eSJ9XX19")), "businessName") unless @business_name.nil?
  @business_phone_number = business_phone_number.is_a?(Hash) ? ::AWSCDK::CustomerProfiles::CfnSegmentDefinition::ProfileDimensionProperty.new(**business_phone_number.transform_keys(&:to_sym)) : business_phone_number
  Jsii::Type.check_type(@business_phone_number, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jdXN0b21lcnByb2ZpbGVzLkNmblNlZ21lbnREZWZpbml0aW9uLlByb2ZpbGVEaW1lbnNpb25Qcm9wZXJ0eSJ9XX19")), "businessPhoneNumber") unless @business_phone_number.nil?
  @email_address = email_address.is_a?(Hash) ? ::AWSCDK::CustomerProfiles::CfnSegmentDefinition::ProfileDimensionProperty.new(**email_address.transform_keys(&:to_sym)) : email_address
  Jsii::Type.check_type(@email_address, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jdXN0b21lcnByb2ZpbGVzLkNmblNlZ21lbnREZWZpbml0aW9uLlByb2ZpbGVEaW1lbnNpb25Qcm9wZXJ0eSJ9XX19")), "emailAddress") unless @email_address.nil?
  @first_name = first_name.is_a?(Hash) ? ::AWSCDK::CustomerProfiles::CfnSegmentDefinition::ProfileDimensionProperty.new(**first_name.transform_keys(&:to_sym)) : first_name
  Jsii::Type.check_type(@first_name, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jdXN0b21lcnByb2ZpbGVzLkNmblNlZ21lbnREZWZpbml0aW9uLlByb2ZpbGVEaW1lbnNpb25Qcm9wZXJ0eSJ9XX19")), "firstName") unless @first_name.nil?
  @gender_string = gender_string.is_a?(Hash) ? ::AWSCDK::CustomerProfiles::CfnSegmentDefinition::ProfileDimensionProperty.new(**gender_string.transform_keys(&:to_sym)) : gender_string
  Jsii::Type.check_type(@gender_string, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jdXN0b21lcnByb2ZpbGVzLkNmblNlZ21lbnREZWZpbml0aW9uLlByb2ZpbGVEaW1lbnNpb25Qcm9wZXJ0eSJ9XX19")), "genderString") unless @gender_string.nil?
  @home_phone_number = home_phone_number.is_a?(Hash) ? ::AWSCDK::CustomerProfiles::CfnSegmentDefinition::ProfileDimensionProperty.new(**home_phone_number.transform_keys(&:to_sym)) : home_phone_number
  Jsii::Type.check_type(@home_phone_number, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jdXN0b21lcnByb2ZpbGVzLkNmblNlZ21lbnREZWZpbml0aW9uLlByb2ZpbGVEaW1lbnNpb25Qcm9wZXJ0eSJ9XX19")), "homePhoneNumber") unless @home_phone_number.nil?
  @last_name = last_name.is_a?(Hash) ? ::AWSCDK::CustomerProfiles::CfnSegmentDefinition::ProfileDimensionProperty.new(**last_name.transform_keys(&:to_sym)) : last_name
  Jsii::Type.check_type(@last_name, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jdXN0b21lcnByb2ZpbGVzLkNmblNlZ21lbnREZWZpbml0aW9uLlByb2ZpbGVEaW1lbnNpb25Qcm9wZXJ0eSJ9XX19")), "lastName") unless @last_name.nil?
  @mailing_address = mailing_address.is_a?(Hash) ? ::AWSCDK::CustomerProfiles::CfnSegmentDefinition::AddressDimensionProperty.new(**mailing_address.transform_keys(&:to_sym)) : mailing_address
  Jsii::Type.check_type(@mailing_address, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jdXN0b21lcnByb2ZpbGVzLkNmblNlZ21lbnREZWZpbml0aW9uLkFkZHJlc3NEaW1lbnNpb25Qcm9wZXJ0eSJ9XX19")), "mailingAddress") unless @mailing_address.nil?
  @middle_name = middle_name.is_a?(Hash) ? ::AWSCDK::CustomerProfiles::CfnSegmentDefinition::ProfileDimensionProperty.new(**middle_name.transform_keys(&:to_sym)) : middle_name
  Jsii::Type.check_type(@middle_name, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jdXN0b21lcnByb2ZpbGVzLkNmblNlZ21lbnREZWZpbml0aW9uLlByb2ZpbGVEaW1lbnNpb25Qcm9wZXJ0eSJ9XX19")), "middleName") unless @middle_name.nil?
  @mobile_phone_number = mobile_phone_number.is_a?(Hash) ? ::AWSCDK::CustomerProfiles::CfnSegmentDefinition::ProfileDimensionProperty.new(**mobile_phone_number.transform_keys(&:to_sym)) : mobile_phone_number
  Jsii::Type.check_type(@mobile_phone_number, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jdXN0b21lcnByb2ZpbGVzLkNmblNlZ21lbnREZWZpbml0aW9uLlByb2ZpbGVEaW1lbnNpb25Qcm9wZXJ0eSJ9XX19")), "mobilePhoneNumber") unless @mobile_phone_number.nil?
  @party_type_string = party_type_string.is_a?(Hash) ? ::AWSCDK::CustomerProfiles::CfnSegmentDefinition::ProfileDimensionProperty.new(**party_type_string.transform_keys(&:to_sym)) : party_type_string
  Jsii::Type.check_type(@party_type_string, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jdXN0b21lcnByb2ZpbGVzLkNmblNlZ21lbnREZWZpbml0aW9uLlByb2ZpbGVEaW1lbnNpb25Qcm9wZXJ0eSJ9XX19")), "partyTypeString") unless @party_type_string.nil?
  @personal_email_address = personal_email_address.is_a?(Hash) ? ::AWSCDK::CustomerProfiles::CfnSegmentDefinition::ProfileDimensionProperty.new(**personal_email_address.transform_keys(&:to_sym)) : personal_email_address
  Jsii::Type.check_type(@personal_email_address, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jdXN0b21lcnByb2ZpbGVzLkNmblNlZ21lbnREZWZpbml0aW9uLlByb2ZpbGVEaW1lbnNpb25Qcm9wZXJ0eSJ9XX19")), "personalEmailAddress") unless @personal_email_address.nil?
  @phone_number = phone_number.is_a?(Hash) ? ::AWSCDK::CustomerProfiles::CfnSegmentDefinition::ProfileDimensionProperty.new(**phone_number.transform_keys(&:to_sym)) : phone_number
  Jsii::Type.check_type(@phone_number, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jdXN0b21lcnByb2ZpbGVzLkNmblNlZ21lbnREZWZpbml0aW9uLlByb2ZpbGVEaW1lbnNpb25Qcm9wZXJ0eSJ9XX19")), "phoneNumber") unless @phone_number.nil?
  @profile_type = profile_type.is_a?(Hash) ? ::AWSCDK::CustomerProfiles::CfnSegmentDefinition::ProfileTypeDimensionProperty.new(**profile_type.transform_keys(&:to_sym)) : profile_type
  Jsii::Type.check_type(@profile_type, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jdXN0b21lcnByb2ZpbGVzLkNmblNlZ21lbnREZWZpbml0aW9uLlByb2ZpbGVUeXBlRGltZW5zaW9uUHJvcGVydHkifV19fQ==")), "profileType") unless @profile_type.nil?
  @shipping_address = shipping_address.is_a?(Hash) ? ::AWSCDK::CustomerProfiles::CfnSegmentDefinition::AddressDimensionProperty.new(**shipping_address.transform_keys(&:to_sym)) : shipping_address
  Jsii::Type.check_type(@shipping_address, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jdXN0b21lcnByb2ZpbGVzLkNmblNlZ21lbnREZWZpbml0aW9uLkFkZHJlc3NEaW1lbnNpb25Qcm9wZXJ0eSJ9XX19")), "shippingAddress") unless @shipping_address.nil?
end

Instance Attribute Details

#account_numberAWSCDK::IResolvable, ... (readonly)

A field to describe values to segment on within account number.



1106
1107
1108
# File 'customer_profiles/cfn_segment_definition.rb', line 1106

def 
  @account_number
end

#additional_informationAWSCDK::IResolvable, ... (readonly)

A field to describe values to segment on within additional information.



1111
1112
1113
# File 'customer_profiles/cfn_segment_definition.rb', line 1111

def additional_information
  @additional_information
end

#addressAWSCDK::IResolvable, ... (readonly)

A field to describe values to segment on within address.



1116
1117
1118
# File 'customer_profiles/cfn_segment_definition.rb', line 1116

def address
  @address
end

#attributesAWSCDK::IResolvable, ... (readonly)

A field to describe values to segment on within attributes.



1121
1122
1123
# File 'customer_profiles/cfn_segment_definition.rb', line 1121

def attributes
  @attributes
end

#billing_addressAWSCDK::IResolvable, ... (readonly)

A field to describe values to segment on within billing address.



1126
1127
1128
# File 'customer_profiles/cfn_segment_definition.rb', line 1126

def billing_address
  @billing_address
end

#birth_dateAWSCDK::IResolvable, ... (readonly)

A field to describe values to segment on within birthDate.



1131
1132
1133
# File 'customer_profiles/cfn_segment_definition.rb', line 1131

def birth_date
  @birth_date
end

#business_email_addressAWSCDK::IResolvable, ... (readonly)

A field to describe values to segment on within business email address.



1136
1137
1138
# File 'customer_profiles/cfn_segment_definition.rb', line 1136

def business_email_address
  @business_email_address
end

#business_nameAWSCDK::IResolvable, ... (readonly)

A field to describe values to segment on within business name.



1141
1142
1143
# File 'customer_profiles/cfn_segment_definition.rb', line 1141

def business_name
  @business_name
end

#business_phone_numberAWSCDK::IResolvable, ... (readonly)

A field to describe values to segment on within business phone number.



1146
1147
1148
# File 'customer_profiles/cfn_segment_definition.rb', line 1146

def business_phone_number
  @business_phone_number
end

#email_addressAWSCDK::IResolvable, ... (readonly)

A field to describe values to segment on within email address.



1151
1152
1153
# File 'customer_profiles/cfn_segment_definition.rb', line 1151

def email_address
  @email_address
end

#first_nameAWSCDK::IResolvable, ... (readonly)

A field to describe values to segment on within first name.



1156
1157
1158
# File 'customer_profiles/cfn_segment_definition.rb', line 1156

def first_name
  @first_name
end

#gender_stringAWSCDK::IResolvable, ... (readonly)

A field to describe values to segment on within genderString.



1161
1162
1163
# File 'customer_profiles/cfn_segment_definition.rb', line 1161

def gender_string
  @gender_string
end

#home_phone_numberAWSCDK::IResolvable, ... (readonly)

A field to describe values to segment on within home phone number.



1166
1167
1168
# File 'customer_profiles/cfn_segment_definition.rb', line 1166

def home_phone_number
  @home_phone_number
end

#last_nameAWSCDK::IResolvable, ... (readonly)

A field to describe values to segment on within last name.



1171
1172
1173
# File 'customer_profiles/cfn_segment_definition.rb', line 1171

def last_name
  @last_name
end

#mailing_addressAWSCDK::IResolvable, ... (readonly)

A field to describe values to segment on within mailing address.



1176
1177
1178
# File 'customer_profiles/cfn_segment_definition.rb', line 1176

def mailing_address
  @mailing_address
end

#middle_nameAWSCDK::IResolvable, ... (readonly)

A field to describe values to segment on within middle name.



1181
1182
1183
# File 'customer_profiles/cfn_segment_definition.rb', line 1181

def middle_name
  @middle_name
end

#mobile_phone_numberAWSCDK::IResolvable, ... (readonly)

A field to describe values to segment on within mobile phone number.



1186
1187
1188
# File 'customer_profiles/cfn_segment_definition.rb', line 1186

def mobile_phone_number
  @mobile_phone_number
end

#party_type_stringAWSCDK::IResolvable, ... (readonly)

A field to describe values to segment on within partyTypeString.



1191
1192
1193
# File 'customer_profiles/cfn_segment_definition.rb', line 1191

def party_type_string
  @party_type_string
end

#personal_email_addressAWSCDK::IResolvable, ... (readonly)

A field to describe values to segment on within personal email address.



1196
1197
1198
# File 'customer_profiles/cfn_segment_definition.rb', line 1196

def personal_email_address
  @personal_email_address
end

#phone_numberAWSCDK::IResolvable, ... (readonly)

A field to describe values to segment on within phone number.



1201
1202
1203
# File 'customer_profiles/cfn_segment_definition.rb', line 1201

def phone_number
  @phone_number
end

#shipping_addressAWSCDK::IResolvable, ... (readonly)

A field to describe values to segment on within shipping address.



1211
1212
1213
# File 'customer_profiles/cfn_segment_definition.rb', line 1211

def shipping_address
  @shipping_address
end

Class Method Details

.jsii_propertiesObject



1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
# File 'customer_profiles/cfn_segment_definition.rb', line 1213

def self.jsii_properties
  {
    :account_number => "accountNumber",
    :additional_information => "additionalInformation",
    :address => "address",
    :attributes => "attributes",
    :billing_address => "billingAddress",
    :birth_date => "birthDate",
    :business_email_address => "businessEmailAddress",
    :business_name => "businessName",
    :business_phone_number => "businessPhoneNumber",
    :email_address => "emailAddress",
    :first_name => "firstName",
    :gender_string => "genderString",
    :home_phone_number => "homePhoneNumber",
    :last_name => "lastName",
    :mailing_address => "mailingAddress",
    :middle_name => "middleName",
    :mobile_phone_number => "mobilePhoneNumber",
    :party_type_string => "partyTypeString",
    :personal_email_address => "personalEmailAddress",
    :phone_number => "phoneNumber",
    :profile_type => "profileType",
    :shipping_address => "shippingAddress",
  }
end

Instance Method Details

#to_jsiiObject



1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
# File 'customer_profiles/cfn_segment_definition.rb', line 1240

def to_jsii
  result = {}
  result.merge!({
    "accountNumber" => @account_number,
    "additionalInformation" => @additional_information,
    "address" => @address,
    "attributes" => @attributes,
    "billingAddress" => @billing_address,
    "birthDate" => @birth_date,
    "businessEmailAddress" => @business_email_address,
    "businessName" => @business_name,
    "businessPhoneNumber" => @business_phone_number,
    "emailAddress" => @email_address,
    "firstName" => @first_name,
    "genderString" => @gender_string,
    "homePhoneNumber" => @home_phone_number,
    "lastName" => @last_name,
    "mailingAddress" => @mailing_address,
    "middleName" => @middle_name,
    "mobilePhoneNumber" => @mobile_phone_number,
    "partyTypeString" => @party_type_string,
    "personalEmailAddress" => @personal_email_address,
    "phoneNumber" => @phone_number,
    "profileType" => @profile_type,
    "shippingAddress" => @shipping_address,
  })
  result.compact
end