public void Deserialize(string content)
        {
            // remove heading and trailing white spaces
            content = content.Trim();

            // make sure that the parameter starts with CUTYPE
            if (!content.StartsWith("RELATED="))
            {
                throw new ArgumentException("Invalid alarm trigger relationship parameter detected! Property parameter needs to start with RELATED keyword!");
            }

            // parse relationship type
            string typeAsString = content.Substring(content.IndexOf('=') + 1).Trim();

            RelationshipType = ObjectSerializer.Deserialize <EnumValue <AlarmTriggerRelationshipType> >(typeAsString).Value;
        }
 public AlarmTriggerRelationshipParameter(AlarmTriggerRelationshipType type)
 {
     RelationshipType = type;
 }