/// <summary>
 /// <para>Initializes a new instance of the <see cref="DeviceDeleteOnUnlinkFailDetails"
 /// /> class.</para>
 /// </summary>
 /// <param name="numFailures">The number of times that remote file deletion
 /// failed.</param>
 /// <param name="sessionInfo">Session unique id. Might be missing due to historical
 /// data gap.</param>
 /// <param name="displayName">The device name. Might be missing due to historical data
 /// gap.</param>
 public DeviceDeleteOnUnlinkFailDetails(long numFailures,
                                        SessionLogInfo sessionInfo = null,
                                        string displayName         = null)
 {
     this.NumFailures = numFailures;
     this.SessionInfo = sessionInfo;
     this.DisplayName = displayName;
 }
 /// <summary>
 /// <para>Initializes a new instance of the <see cref="DeviceUnlinkDetails" />
 /// class.</para>
 /// </summary>
 /// <param name="deleteData">True if the user requested to delete data after device
 /// unlink, false otherwise.</param>
 /// <param name="sessionInfo">Session unique id.</param>
 /// <param name="displayName">The device name. Might be missing due to historical data
 /// gap.</param>
 public DeviceUnlinkDetails(bool deleteData,
                            SessionLogInfo sessionInfo = null,
                            string displayName         = null)
 {
     this.DeleteData  = deleteData;
     this.SessionInfo = sessionInfo;
     this.DisplayName = displayName;
 }
Exemple #3
0
 /// <summary>
 /// <para>Initializes a new instance of the <see cref="LegacyDeviceSessionLogInfo" />
 /// class.</para>
 /// </summary>
 /// <param name="ipAddress">The IP address of the last activity from this session.
 /// Might be missing due to historical data gap.</param>
 /// <param name="created">The time this session was created. Might be missing due to
 /// historical data gap.</param>
 /// <param name="updated">The time of the last activity from this session. Might be
 /// missing due to historical data gap.</param>
 /// <param name="sessionInfo">Session unique id. Might be missing due to historical
 /// data gap.</param>
 /// <param name="displayName">The device name. Might be missing due to historical data
 /// gap.</param>
 /// <param name="isEmmManaged">Is device managed by emm. Might be missing due to
 /// historical data gap.</param>
 /// <param name="platform">Information on the hosting platform. Might be missing due to
 /// historical data gap.</param>
 /// <param name="macAddress">The mac address of the last activity from this session.
 /// Might be missing due to historical data gap.</param>
 /// <param name="osVersion">The hosting OS version. Might be missing due to historical
 /// data gap.</param>
 /// <param name="deviceType">Information on the hosting device type. Might be missing
 /// due to historical data gap.</param>
 /// <param name="clientVersion">The Dropbox client version. Might be missing due to
 /// historical data gap.</param>
 /// <param name="legacyUniqId">Alternative unique device session id, instead of session
 /// id field. Might be missing due to historical data gap.</param>
 public LegacyDeviceSessionLogInfo(string ipAddress           = null,
                                   sys.DateTime?created       = null,
                                   sys.DateTime?updated       = null,
                                   SessionLogInfo sessionInfo = null,
                                   string displayName         = null,
                                   bool?isEmmManaged          = null,
                                   string platform            = null,
                                   string macAddress          = null,
                                   string osVersion           = null,
                                   string deviceType          = null,
                                   string clientVersion       = null,
                                   string legacyUniqId        = null)
     : base(ipAddress, created, updated)
 {
     this.SessionInfo   = sessionInfo;
     this.DisplayName   = displayName;
     this.IsEmmManaged  = isEmmManaged;
     this.Platform      = platform;
     this.MacAddress    = macAddress;
     this.OsVersion     = osVersion;
     this.DeviceType    = deviceType;
     this.ClientVersion = clientVersion;
     this.LegacyUniqId  = legacyUniqId;
 }
Exemple #4
0
 /// <summary>
 /// <para>Initializes a new instance of the <see cref="EndUser" /> class.</para>
 /// </summary>
 /// <param name="value">The value</param>
 public EndUser(SessionLogInfo value)
 {
     this.Value = value;
 }
 /// <summary>
 /// <para>Initializes a new instance of the <see
 /// cref="DeviceDeleteOnUnlinkSuccessDetails" /> class.</para>
 /// </summary>
 /// <param name="sessionInfo">Session unique id. Might be missing due to historical
 /// data gap.</param>
 /// <param name="displayName">The device name. Might be missing due to historical data
 /// gap.</param>
 public DeviceDeleteOnUnlinkSuccessDetails(SessionLogInfo sessionInfo = null,
                                           string displayName         = null)
 {
     this.SessionInfo = sessionInfo;
     this.DisplayName = displayName;
 }