All Downloads are FREE. Search and download functionalities are using the official Maven repository.

it.auties.whatsapp.model.setting.AutoDownloadSettings Maven / Gradle / Ivy

There is a newer version: 2.7.2
Show newest version
package it.auties.whatsapp.model.setting;

import it.auties.protobuf.base.ProtobufName;
import it.auties.protobuf.base.ProtobufProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;
import lombok.extern.jackson.Jacksonized;

import static it.auties.protobuf.base.ProtobufType.BOOL;

@AllArgsConstructor
@Data
@Accessors(fluent = true)
@Jacksonized
@Builder
@ProtobufName("AutoDownloadSettings")
public final class AutoDownloadSettings implements Setting {
    @ProtobufProperty(index = 1, name = "downloadImages", type = BOOL)
    private boolean downloadImages;

    @ProtobufProperty(index = 2, name = "downloadAudio", type = BOOL)
    private boolean downloadAudio;

    @ProtobufProperty(index = 3, name = "downloadVideo", type = BOOL)
    private boolean downloadVideo;

    @ProtobufProperty(index = 4, name = "downloadDocuments", type = BOOL)
    private boolean downloadDocuments;

    @Override
    public String indexName() {
        throw new UnsupportedOperationException("Cannot send setting: no index name");
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy