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

org.example.authentication.model.ObtainBoxRegKeyRequest Maven / Gradle / Ivy

The newest version!
package org.example.authentication.model;


import java.util.List;

public class ObtainBoxRegKeyRequest  {

    // Field for Box UUID
    private String boxUUID;

    // Field for Service IDs
    private List serviceIds;

    // Field for Sign
    private String sign;


    public String getBoxUUID() {
        return this.boxUUID;
    }

    public void setBoxUUID(String boxUUID) {
        if (boxUUID == null || boxUUID.trim().isEmpty()) {
            throw new IllegalArgumentException("Box UUID cannot be null or empty.");
        }
        this.boxUUID = boxUUID;

    }

    public List getServiceIds() {
        return this.serviceIds;
    }

    public void setServiceIds(List serviceIds) {
        if (serviceIds == null || serviceIds.isEmpty()) {
            throw new IllegalArgumentException("Service IDs cannot be null or empty.");
        }
        this.serviceIds = serviceIds;

    }

    public String getSign() {
        return this.sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy