def properties(props = nil)
      if props.nil? || props.empty?
        get_properties
      else
        set_properties(props)
        get_properties(true)
      end
    end
def properties(props = nil)
      if props.nil? || props.empty?
        get_properties
      else
        set_properties(props)
        get_properties(true)
      end
    end
Set properties for this object. If no properties are given it lists the properties for this object.

 @example List all properties for an artifact
   artifact.properties #=> { 'licenses'=>['Apache-2.0'] }

 @example Set new properties for an artifact
   artifact.properties(maintainer: 'SuperStartup01') #=> { 'licenses'=>['Apache-2.0'], 'maintainer'=>'SuperStartup01' }

 @param [Hash<String, Object>] props (default: +nil+)
   A hash of properties and corresponding values to set for the artifact

 @return [Hash<String, Object>]
   the list of properties