def code_text_alignment=(code_text_alignment)
      validator = EnumAttributeValidator.new('String', ["None", "Above", "Below", "Right"])
      if code_text_alignment.to_i == 0
        unless validator.valid?(code_text_alignment)
          raise ArgumentError, "invalid value for 'code_text_alignment', must be one of #{validator.allowable_values}."
        end
        @code_text_alignment = code_text_alignment
      else
        @code_text_alignment = validator.allowable_values[code_text_alignment.to_i]
      end
    end
def code_text_alignment=(code_text_alignment)
      validator = EnumAttributeValidator.new('String', ["None", "Above", "Below", "Right"])
      if code_text_alignment.to_i == 0
        unless validator.valid?(code_text_alignment)
          raise ArgumentError, "invalid value for 'code_text_alignment', must be one of #{validator.allowable_values}."
        end
        @code_text_alignment = code_text_alignment
      else
        @code_text_alignment = validator.allowable_values[code_text_alignment.to_i]
      end
    end
Custom attribute writer method checking allowed values (enum).
 @param [Object] code_text_alignment Object to be assigned