Applications.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. using System;
  2. using System.Text;
  3. using System.Collections;
  4. using System.Collections.Generic;
  5. using System.Runtime.Serialization;
  6. using Newtonsoft.Json;
  7. namespace IO.Swagger.Model {
  8. /// <summary>
  9. ///
  10. /// </summary>
  11. [DataContract]
  12. public class Applications {
  13. /// <summary>
  14. /// Gets or Sets _Applications
  15. /// </summary>
  16. [DataMember(Name="applications", EmitDefaultValue=false)]
  17. [JsonProperty(PropertyName = "applications")]
  18. public List<Application> _Applications { get; set; }
  19. /// <summary>
  20. /// Get the string presentation of the object
  21. /// </summary>
  22. /// <returns>String presentation of the object</returns>
  23. public override string ToString() {
  24. StringBuilder sb = new StringBuilder();
  25. sb.Append("class Applications {\n");
  26. sb.Append(" _Applications: ").Append(_Applications).Append("\n");
  27. sb.Append("}\n");
  28. return sb.ToString();
  29. }
  30. /// <summary>
  31. /// Get the JSON string presentation of the object
  32. /// </summary>
  33. /// <returns>JSON string presentation of the object</returns>
  34. public string ToJson() {
  35. return JsonConvert.SerializeObject(this, Formatting.Indented);
  36. }
  37. }
  38. }