예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CreateToken" /> class.
 /// </summary>
 /// <param name="httpOptions">httpOptions.</param>
 /// <param name="label">The label assigned to the Token, that is like the name is associated to it.</param>
 /// <param name="user">The user whom the Token is to be associated.</param>
 /// <param name="webhooks">webhooks.</param>
 public CreateToken(CreateTokenHttpOptions httpOptions = default(CreateTokenHttpOptions), string label = default(string), string user = default(string), CreateTokenWebhooks webhooks = default(CreateTokenWebhooks))
 {
     this.HttpOptions = httpOptions;
     this.Label       = label;
     this.User        = user;
     this.Webhooks    = webhooks;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="UpdateToken" /> class.
 /// </summary>
 /// <param name="httpOptions">httpOptions.</param>
 /// <param name="webhooks">webhooks.</param>
 public UpdateToken(CreateTokenHttpOptions httpOptions = default(CreateTokenHttpOptions), CreateTokenWebhooks webhooks = default(CreateTokenWebhooks))
 {
     this.HttpOptions = httpOptions;
     this.Webhooks    = webhooks;
 }