/// <summary>
 /// Initializes a new instance of the <see cref="KetoGetOryAccessControlPolicyRoleOK" /> class.
 /// </summary>
 /// <param name="payload">payload.</param>
 public KetoGetOryAccessControlPolicyRoleOK(KetoOryAccessControlPolicyRole payload = default(KetoOryAccessControlPolicyRole))
 {
     this.Payload = payload;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="KetoUpsertOryAccessControlPolicyRole" /> 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 KetoUpsertOryAccessControlPolicyRole(KetoOryAccessControlPolicyRole body = default(KetoOryAccessControlPolicyRole), string flavor = default(string))
 {
     // to ensure "flavor" is required (not null)
     this.Flavor = flavor ?? throw new ArgumentNullException("flavor is a required property for KetoUpsertOryAccessControlPolicyRole and cannot be null");
     this.Body   = body;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="KetoAddOryAccessControlPolicyRoleMembersOK" /> class.
 /// </summary>
 /// <param name="payload">payload.</param>
 public KetoAddOryAccessControlPolicyRoleMembersOK(KetoOryAccessControlPolicyRole payload = default(KetoOryAccessControlPolicyRole))
 {
     this.Payload = payload;
 }