com.memority.citadel.shared.api.im.MyMFASyncRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of citadel-api Show documentation
Show all versions of citadel-api Show documentation
This artifact provides the API classes that are necessary to implement general configuration Rules on the Memority IM platform.
/*
* Copyright (c) 2016-2023 Memority. All Rights Reserved.
*
* This file is part of Memority Citadel API , a Memority project.
*
* This file is released under the Memority Public Artifacts End-User License Agreement,
* see
* Unauthorized copying of this file, via any medium is strictly prohibited.
*/
package com.memority.citadel.shared.api.im;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;
import java.time.Instant;
import java.util.ArrayList;
import java.util.List;
/**
* Request object to perform a synchronization of inwebo devices.
* This is implemented for the Memority mobile backend service to allow a confirmation/reconcialiation between the idm and the mobile enrollment.
*
* @see MyMFASyncResponse
*/
@Data
public class MyMFASyncRequest {
@NotNull
private MyMFASyncMode syncMode;
@NotNull
private MyMFASyncDeviceCategory deviceCategory;
@NotNull
private String inweboLogin; // TODO CTD-9249 MOB request need to be adapted
private List devices = new ArrayList<>();
@Data
public static class SyncRequestDevice {
@NotNull
@JsonProperty("id")
private String alias;
private Instant registrationDate;
private String name;
}
}