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