Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TraceResultsSet" /> class.
 /// </summary>
 /// <param name="traceResults">traceResults.</param>
 /// <param name="success">success.</param>
 /// <param name="error">error.</param>
 public TraceResultsSet(TraceResultsSetTraceResults traceResults = default(TraceResultsSetTraceResults), bool?success = default(bool?), TokenResponseError error = default(TokenResponseError))
 {
     this.TraceResults = traceResults;
     this.Success      = success;
     this.Error        = error;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TokenResponse" /> class.
 /// </summary>
 /// <param name="token">The generated token..</param>
 /// <param name="expires">The expiration time of the token in milliseconds since Jan. 1, 1970 (UTC)..</param>
 /// <param name="ssl">True if the token must always pass over ssl..</param>
 /// <param name="error">error.</param>
 public TokenResponse(string token = default(string), decimal?expires = default(decimal?), bool?ssl = default(bool?), TokenResponseError error = default(TokenResponseError))
 {
     this.Token   = token;
     this.Expires = expires;
     this.Ssl     = ssl;
     this.Error   = error;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="UpdateIsConnectedResponse" /> class.
 /// </summary>
 /// <param name="moment">moment.</param>
 /// <param name="success">success.</param>
 /// <param name="error">error.</param>
 public UpdateIsConnectedResponse(decimal?moment = default(decimal?), string success = default(string), TokenResponseError error = default(TokenResponseError))
 {
     this.Moment  = moment;
     this.Success = success;
     this.Error   = error;
 }