コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="KetoGetOryAccessControlPolicyOK" /> class.
 /// </summary>
 /// <param name="payload">payload.</param>
 public KetoGetOryAccessControlPolicyOK(KetoOryAccessControlPolicy payload = default(KetoOryAccessControlPolicy))
 {
     this.Payload = payload;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="KetoUpsertOryAccessControlPolicy" /> class.
 /// </summary>
 /// <param name="body">body.</param>
 /// <param name="flavor">The ORY Access Control Policy flavor. Can be \&quot;regex\&quot;, \&quot;glob\&quot;, and \&quot;exact\&quot;.  in: path (required).</param>
 public KetoUpsertOryAccessControlPolicy(KetoOryAccessControlPolicy body = default(KetoOryAccessControlPolicy), string flavor = default(string))
 {
     // to ensure "flavor" is required (not null)
     this.Flavor = flavor ?? throw new ArgumentNullException("flavor is a required property for KetoUpsertOryAccessControlPolicy and cannot be null");
     this.Body   = body;
 }