// Path: src/main/java/org/aarboard/nextcloud/api/utils/InstantXmlAdapter.java
// public class InstantXmlAdapter extends XmlAdapter<Long, Instant>
// {
//     @Override
//     public Long marshal(Instant instant)
//     {
//         return instant.getEpochSecond();
//     }
// 
//     @Override
//     public Instant unmarshal(Long time)
//     {
//         return Instant.ofEpochSecond(time);
//     }
// }
// 
// Path: src/main/java/org/aarboard/nextcloud/api/utils/LocalDateXmlAdapter.java
// public class LocalDateXmlAdapter extends XmlAdapter<String, LocalDate>
// {
//     @Override
//     public String marshal(LocalDate date)
//     {
//         return date.toString();
//     }
// 
//     @Override
//     public LocalDate unmarshal(String date)
//     {
//         return LocalDate.parse(date.substring(0, 10));
//     }
// }


import java.time.Instant;
import java.time.LocalDate;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.adapters.XmlAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.aarboard.nextcloud.api.utils.InstantXmlAdapter;
import org.aarboard.nextcloud.api.utils.LocalDateXmlAdapter;
    public String getShareWithId() {
        return shareWithId;
    }

    public String getShareWithDisplayName() {
        return shareWithDisplayName;
    }

    public String getToken() {
        return token;
    }

    public Instant getShareTime() {
        return shareTime;
    }

    public LocalDate getExpiration() {
        return expiration;
    }

    public String getUrl() {
        return url;
    }

    public String getMimetype() {
        return mimetype;
    }

    private static final class SharePermissionsAdapter extends XmlAdapter<Integer, SharePermissions>
    {
// Path: src/main/java/org/aarboard/nextcloud/api/utils/InstantXmlAdapter.java
// public class InstantXmlAdapter extends XmlAdapter<Long, Instant>
// {
//     @Override
//     public Long marshal(Instant instant)
//     {
//         return instant.getEpochSecond();
//     }
// 
//     @Override
//     public Instant unmarshal(Long time)
//     {
//         return Instant.ofEpochSecond(time);
//     }
// }
// 
// Path: src/main/java/org/aarboard/nextcloud/api/utils/LocalDateXmlAdapter.java
// public class LocalDateXmlAdapter extends XmlAdapter<String, LocalDate>
// {
//     @Override
//     public String marshal(LocalDate date)
//     {
//         return date.toString();
//     }
// 
//     @Override
//     public LocalDate unmarshal(String date)
//     {
//         return LocalDate.parse(date.substring(0, 10));
//     }
// }


// Path: src/main/java/org/aarboard/nextcloud/api/filesharing/Share.java
import java.time.Instant;
import java.time.LocalDate;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.adapters.XmlAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.aarboard.nextcloud.api.utils.InstantXmlAdapter;
import org.aarboard.nextcloud.api.utils.LocalDateXmlAdapter;

    public String getShareWithId() {
        return shareWithId;
    }

    public String getShareWithDisplayName() {
        return shareWithDisplayName;
    }

    public String getToken() {
        return token;
    }

    public Instant getShareTime() {
        return shareTime;
    }

    public LocalDate getExpiration() {
        return expiration;
    }

    public String getUrl() {
        return url;
    }

    public String getMimetype() {
        return mimetype;
    }

    private static final class SharePermissionsAdapter extends XmlAdapter<Integer, SharePermissions>
    {
        @Override