def relationship=(relationship)
      validator = EnumAttributeValidator.new('String', ["Parent", "Grandparent", "Self", "Aunt/Uncle", "Sibling", "Other", ""])
      unless validator.valid?(relationship)
        fail ArgumentError, "invalid value for 'relationship', must be one of #{validator.allowable_values}."
      end
      @relationship = relationship
    end
def relationship=(relationship)
      validator = EnumAttributeValidator.new('String', ["Parent", "Grandparent", "Self", "Aunt/Uncle", "Sibling", "Other", ""])
      unless validator.valid?(relationship)
        fail ArgumentError, "invalid value for 'relationship', must be one of #{validator.allowable_values}."
      end
      @relationship = relationship
    end
Custom attribute writer method checking allowed values (enum).
 @param [Object] relationship Object to be assigned