mirror of
https://github.com/ysoftdevs/wapifuzz.git
synced 2026-01-13 15:13:29 +01:00
27 lines
659 B
C#
27 lines
659 B
C#
using System;
|
|
|
|
namespace Models
|
|
{
|
|
public class UriAttribute
|
|
{
|
|
public string Name { get; }
|
|
public bool Required { get; }
|
|
public string ExampleValue { get; set; }
|
|
|
|
public string Type { get; set; }
|
|
public string Format { get; set; }
|
|
public string Location { get; set; }
|
|
|
|
public UriAttribute(string name, bool required)
|
|
{
|
|
Name = name;
|
|
Required = required;
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return $"Name: {Name}{Environment.NewLine}Required: {Required}{Environment.NewLine}Example value: {ExampleValue}";
|
|
}
|
|
}
|
|
}
|