it.auties.whatsapp.model.setting.AutoDownloadSettings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of whatsappweb4j Show documentation
Show all versions of whatsappweb4j Show documentation
Standalone fully-featured Whatsapp Web API for Java and Kotlin
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");
}
}