it.auties.whatsapp.model.business.BusinessAccountLinkInfo 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.business;
import it.auties.protobuf.base.ProtobufMessage;
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.*;
/**
* A model class that holds a payload about a business link info.
*/
@AllArgsConstructor
@Data
@Accessors(fluent = true)
@Jacksonized
@Builder
@ProtobufName("BizAccountLinkInfo")
public class BusinessAccountLinkInfo implements ProtobufMessage {
/**
* The business id for this link
*/
@ProtobufProperty(index = 1, name = "whatsappBizAcctFbid", type = UINT64)
private long businessId;
/**
* The phone number of this link
*/
@ProtobufProperty(index = 2, name = "whatsappAcctNumber", type = STRING)
private String phoneNumber;
/**
* The issue time of this link
*/
@ProtobufProperty(index = 3, name = "issueTime", type = UINT64)
private long issueTime;
/**
* The type of storage
*/
@ProtobufProperty(index = 4, name = "hostStorage", type = MESSAGE)
private BusinessStorageType hostStorage;
/**
* The type of account
*/
@ProtobufProperty(index = 5, name = "accountType", type = MESSAGE)
private BusinessAccountType accountType;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy