internal static string ToSerializedValue(this OBWriteInternationalConsent3DataAuthorisationAuthorisationTypeEnum value) { switch (value) { case OBWriteInternationalConsent3DataAuthorisationAuthorisationTypeEnum.Any: return("Any"); case OBWriteInternationalConsent3DataAuthorisationAuthorisationTypeEnum.Single: return("Single"); } return(null); }
/// <summary> /// Initializes a new instance of the /// OBWriteInternationalConsent3DataAuthorisation 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 OBWriteInternationalConsent3DataAuthorisation(OBWriteInternationalConsent3DataAuthorisationAuthorisationTypeEnum authorisationType, System.DateTimeOffset?completionDateTime = default(System.DateTimeOffset?)) { AuthorisationType = authorisationType; CompletionDateTime = completionDateTime; CustomInit(); }