Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OathkeeperSwaggerUpdateRuleParameters" /> class.
 /// </summary>
 /// <param name="body">body.</param>
 /// <param name="id">in: path (required).</param>
 public OathkeeperSwaggerUpdateRuleParameters(OathkeeperSwaggerRule body = default(OathkeeperSwaggerRule), string id = default(string))
 {
     // to ensure "id" is required (not null)
     this.Id   = id ?? throw new ArgumentNullException("id is a required property for OathkeeperSwaggerUpdateRuleParameters and cannot be null");
     this.Body = body;
     this.AdditionalProperties = new Dictionary <string, object>();
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OathkeeperGetRuleOK" /> class.
 /// </summary>
 /// <param name="payload">payload.</param>
 public OathkeeperGetRuleOK(OathkeeperSwaggerRule payload = default(OathkeeperSwaggerRule))
 {
     this.Payload = payload;
     this.AdditionalProperties = new Dictionary <string, object>();
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OathkeeperSwaggerRuleResponse" /> class.
 /// </summary>
 /// <param name="body">body.</param>
 public OathkeeperSwaggerRuleResponse(OathkeeperSwaggerRule body = default(OathkeeperSwaggerRule))
 {
     this.Body = body;
     this.AdditionalProperties = new Dictionary <string, object>();
 }
Esempio n. 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OathkeeperSwaggerCreateRuleParameters" /> class.
 /// </summary>
 /// <param name="body">body.</param>
 public OathkeeperSwaggerCreateRuleParameters(OathkeeperSwaggerRule body = default(OathkeeperSwaggerRule))
 {
     this.Body = body;
     this.AdditionalProperties = new Dictionary <string, object>();
 }