Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DelegatedAccessTokenApiResult" /> class.
 /// </summary>
 /// <param name="value">value.</param>
 /// <param name="errorMsg">errorMsg.</param>
 public DelegatedAccessTokenApiResult(DelegatedAccessToken value = default(DelegatedAccessToken), string errorMsg = default(string))
 {
     this.Value    = value;
     this.ErrorMsg = errorMsg;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DelegatedAccessTokenApiResult" /> class.
 /// </summary>
 /// <param name="value">value.</param>
 /// <param name="isSuccess">isSuccess.</param>
 /// <param name="errorMsg">errorMsg.</param>
 public DelegatedAccessTokenApiResult(DelegatedAccessToken value = default(DelegatedAccessToken), bool isSuccess = default(bool), string errorMsg = default(string))
 {
     this.Value     = value;
     this.IsSuccess = isSuccess;
     this.ErrorMsg  = errorMsg;
 }