internal static string ToSerializedValue(this NotifyOption value) { switch (value) { case NotifyOption.NoNotification: return("NoNotification"); case NotifyOption.MailOnFailure: return("MailOnFailure"); case NotifyOption.MailOnCompletion: return("MailOnCompletion"); } return(null); }
/// <summary> /// Initializes a new instance of the RefreshRequest class. /// </summary> /// <param name="notifyOption">Mail notification options (success /// and/or failure, or none). Possible values include: /// 'NoNotification', 'MailOnFailure', 'MailOnCompletion'</param> public RefreshRequest(NotifyOption notifyOption) { NotifyOption = notifyOption; CustomInit(); }