// Path: src/main/java/com/github/sheigutn/pushbullet/http/PostRequest.java
// public class PostRequest<TResult> extends EntityEnclosingRequest<TResult, HttpPost> {
// 
//     public PostRequest(String relativePath) {
//         super(relativePath);
//     }
// }
// 
// Path: src/main/java/com/github/sheigutn/pushbullet/http/Urls.java
// public class Urls {
// 
//     public static final String CHANNELS = "/channels";
//     public static final String GRANTS = "/grants";
//     public static final String PUSHES = "/pushes";
//     public static final String SUBSCRIPTIONS = "/subscriptions";
//     public static final String EVERYTHING = "/everything";
//     public static final String PHONEBOOK = "/permanents/phonebook_";
//     public static final String DEVICES = "/devices";
//     public static final String CONTACTS = "/contacts";
//     public static final String CLIENTS = "/clients";
//     public static final String CHATS = "/chats";
//     public static final String ACCOUNTS = "/accounts";
//     public static final String CURRENT_USER = "/users/me";
//     public static final String CHANNEL_INFO = "/channel-info";
//     public static final String UPLOAD_REQUEST = "/upload-request";
//     public static final String EPHEMERALS = "/ephemerals";
//     public static final String BLOCKS = "/blocks";
// }
// 
// Path: src/main/java/com/github/sheigutn/pushbullet/items/channel/Subscription.java
// @Getter
// @ToString(callSuper = true)
// @NoArgsConstructor(access = AccessLevel.PRIVATE)
// public class Subscription extends PushbulletObject implements Deletable, Mutable, Unsubscribable {
// 
//     /**
//      * The channel info of this subscription
//      */
//     private ChannelInfo channel;
// 
//     /**
//      * Whether this subscription is muted
//      */
//     private boolean muted;
// 
//     @Override
//     public void unsubscribe() {
//         if(!isActive()) return;
//         getPushbullet().executeRequest(new DeleteSpecificSubscriptionRequest(getIdentity()));
//         setActive(false);
//     }
// 
//     @Override
//     public void delete() {
//         unsubscribe();
//     }
// 
//     public void mute() {
//         updateMute(true);
//     }
// 
//     public void unmute() {
//         updateMute(false);
//     }
// 
//     private void updateMute(boolean muteStatus) {
//         getPushbullet().executeRequest(new UpdateSubscriptionMuteStatusRequest(getIdentity(), muteStatus));
//         muted = muteStatus;
//     }
// }


import com.github.sheigutn.pushbullet.http.PostRequest;
import com.github.sheigutn.pushbullet.http.Urls;
import com.github.sheigutn.pushbullet.items.channel.Subscription;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import lombok.Data;
import org.apache.http.client.methods.HttpPost;
package com.github.sheigutn.pushbullet.http.defaults.post;


@Data
public class UpdateSubscriptionMuteStatusRequest extends PostRequest<Subscription> {

    @SerializedName("muted")
    private boolean mute;

    public UpdateSubscriptionMuteStatusRequest(String subscriptionIdentity, boolean mute) {
// Path: src/main/java/com/github/sheigutn/pushbullet/http/PostRequest.java
// public class PostRequest<TResult> extends EntityEnclosingRequest<TResult, HttpPost> {
// 
//     public PostRequest(String relativePath) {
//         super(relativePath);
//     }
// }
// 
// Path: src/main/java/com/github/sheigutn/pushbullet/http/Urls.java
// public class Urls {
// 
//     public static final String CHANNELS = "/channels";
//     public static final String GRANTS = "/grants";
//     public static final String PUSHES = "/pushes";
//     public static final String SUBSCRIPTIONS = "/subscriptions";
//     public static final String EVERYTHING = "/everything";
//     public static final String PHONEBOOK = "/permanents/phonebook_";
//     public static final String DEVICES = "/devices";
//     public static final String CONTACTS = "/contacts";
//     public static final String CLIENTS = "/clients";
//     public static final String CHATS = "/chats";
//     public static final String ACCOUNTS = "/accounts";
//     public static final String CURRENT_USER = "/users/me";
//     public static final String CHANNEL_INFO = "/channel-info";
//     public static final String UPLOAD_REQUEST = "/upload-request";
//     public static final String EPHEMERALS = "/ephemerals";
//     public static final String BLOCKS = "/blocks";
// }
// 
// Path: src/main/java/com/github/sheigutn/pushbullet/items/channel/Subscription.java
// @Getter
// @ToString(callSuper = true)
// @NoArgsConstructor(access = AccessLevel.PRIVATE)
// public class Subscription extends PushbulletObject implements Deletable, Mutable, Unsubscribable {
// 
//     /**
//      * The channel info of this subscription
//      */
//     private ChannelInfo channel;
// 
//     /**
//      * Whether this subscription is muted
//      */
//     private boolean muted;
// 
//     @Override
//     public void unsubscribe() {
//         if(!isActive()) return;
//         getPushbullet().executeRequest(new DeleteSpecificSubscriptionRequest(getIdentity()));
//         setActive(false);
//     }
// 
//     @Override
//     public void delete() {
//         unsubscribe();
//     }
// 
//     public void mute() {
//         updateMute(true);
//     }
// 
//     public void unmute() {
//         updateMute(false);
//     }
// 
//     private void updateMute(boolean muteStatus) {
//         getPushbullet().executeRequest(new UpdateSubscriptionMuteStatusRequest(getIdentity(), muteStatus));
//         muted = muteStatus;
//     }
// }


// Path: src/main/java/com/github/sheigutn/pushbullet/http/defaults/post/UpdateSubscriptionMuteStatusRequest.java
import com.github.sheigutn.pushbullet.http.PostRequest;
import com.github.sheigutn.pushbullet.http.Urls;
import com.github.sheigutn.pushbullet.items.channel.Subscription;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import lombok.Data;
import org.apache.http.client.methods.HttpPost;

package com.github.sheigutn.pushbullet.http.defaults.post;


@Data
public class UpdateSubscriptionMuteStatusRequest extends PostRequest<Subscription> {

    @SerializedName("muted")
    private boolean mute;

    public UpdateSubscriptionMuteStatusRequest(String subscriptionIdentity, boolean mute) {
        super(Urls.SUBSCRIPTIONS + "/" + subscriptionIdentity);