public static string ToString(Meziantou.GitLab.RunnerAccessLevel value) { if ((value == Meziantou.GitLab.RunnerAccessLevel.NotProtected)) { return("not_protected"); } if ((value == Meziantou.GitLab.RunnerAccessLevel.RefProtected)) { return("ref_protected"); } throw new System.ArgumentOutOfRangeException(nameof(value), string.Concat("Value '", value.ToString(), "' is not valid")); }
public void AppendRawParameter(Meziantou.GitLab.RunnerAccessLevel value) { this.Append(Meziantou.GitLab.Serialization.EnumMember.ToString(value)); }