internal static string ToSerializedValue(this OBWriteInternationalScheduledConsentResponse3DataAuthorisationAuthorisationTypeEnum value) { switch (value) { case OBWriteInternationalScheduledConsentResponse3DataAuthorisationAuthorisationTypeEnum.Any: return("Any"); case OBWriteInternationalScheduledConsentResponse3DataAuthorisationAuthorisationTypeEnum.Single: return("Single"); } return(null); }
/// <summary> /// Initializes a new instance of the /// OBWriteInternationalScheduledConsentResponse3DataAuthorisation /// class. /// </summary> /// <param name="authorisationType">Type of authorisation flow /// requested. Possible values include: 'Any', 'Single'</param> /// <param name="completionDateTime">Date and time at which the /// requested authorisation flow must be completed.All dates in the /// JSON payloads are represented in ISO 8601 date-time format. /// All date-time fields in responses must include the timezone. An /// example is below: /// 2017-04-05T10:43:07+00:00</param> public OBWriteInternationalScheduledConsentResponse3DataAuthorisation(OBWriteInternationalScheduledConsentResponse3DataAuthorisationAuthorisationTypeEnum authorisationType, System.DateTimeOffset?completionDateTime = default(System.DateTimeOffset?)) { AuthorisationType = authorisationType; CompletionDateTime = completionDateTime; CustomInit(); }