/// <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; }
/// <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 \"regex\", \"glob\", and \"exact\". 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; }