in releases/go/encryption-sdk/AwsCryptographyEncryptionSdkTypes/AwsCryptographyEncryptionSdkTypes.go [905:917]
func (_this EncryptInput) Equals(other EncryptInput) bool {
switch data1 := _this.Get_().(type) {
case EncryptInput_EncryptInput:
{
data2, ok := other.Get_().(EncryptInput_EncryptInput)
return ok && data1.Plaintext.Equals(data2.Plaintext) && data1.EncryptionContext.Equals(data2.EncryptionContext) && data1.MaterialsManager.Equals(data2.MaterialsManager) && data1.Keyring.Equals(data2.Keyring) && data1.AlgorithmSuiteId.Equals(data2.AlgorithmSuiteId) && data1.FrameLength.Equals(data2.FrameLength)
}
default:
{
return false // unexpected
}
}
}