module Axlsx
  # An override content part. These parts are automatically created by for you based on the content of your package.
  class Override < AbstractContentType
    # Serialization node name for this object
    NODE_NAME = 'Override'.freeze

    # The name and location of the part.
    # @return [String]
    attr_reader :part_name
    alias PartName part_name

    # The name and location of the part.
    def part_name=(v)
      Axlsx.validate_string v
      @part_name = v
    end
    alias PartName= part_name=

    # Serializes this object to xml
    def to_xml_string(str = '')
      super(NODE_NAME, str)
    end
  end
end
