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