< Summary

Class:AttendEventMessageModel
Assembly:ExploreV2
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/ExploreV2/Scripts/Sections/PlacesAndEventsSection/SubSections/EventsSubSection/EventsSubSectionMenu/EventsAPIModel.cs
Covered lines:0
Uncovered lines:1
Coverable lines:1
Total lines:76
Line coverage:0% (0 of 1)
Covered branches:0
Total branches:0
Covered methods:0
Total methods:1
Method coverage:0% (0 of 1)

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
AttendEventMessageModel()0%2100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/ExploreV2/Scripts/Sections/PlacesAndEventsSection/SubSections/EventsSubSection/EventsSubSectionMenu/EventsAPIModel.cs

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3
 4[Serializable]
 5public class EventListFromAPIModel
 6{
 7    public int total;
 8    public bool ok;
 9    public List<EventFromAPIModel> data;
 10}
 11
 12[Serializable]
 13public class EventFromAPIModel
 14{
 15    public string id;
 16    public string name;
 17    public string image;
 18    public string description;
 19    public string next_start_at;
 20    public string finish_at;
 21    public string scene_name;
 22    public int[] coordinates;
 23    public string server;
 24    public int total_attendees;
 25    public bool live;
 26    public string user_name;
 27    public bool highlighted;
 28    public bool trending;
 29    public bool attending;
 30    public string[] categories;
 31    public bool recurrent;
 32    public double duration;
 33    public string start_at;
 34    public string[] recurrent_dates;
 35    public bool world;
 36}
 37
 38[Serializable]
 39public class AttendEventRequestModel
 40{
 41    public string address;
 42    public AttendEventMessageModel message;
 43    public string signature;
 44}
 45
 46[Serializable]
 47public class AttendEventMessageModel
 48{
 049    public string type = "attend";
 50    public string timestamp;
 51    public string @event;
 52    public bool attend;
 53}
 54
 55[Serializable]
 56public class CategoryListFromAPIModel
 57{
 58    public bool ok;
 59    public List<CategoryFromAPIModel> data;
 60}
 61
 62[Serializable]
 63public class CategoryFromAPIModel
 64{
 65    public string name;
 66    public bool active;
 67    public string created_at;
 68    public string updated_at;
 69    public CategoryNameTranslationFromAPIModel i18n;
 70}
 71
 72[Serializable]
 73public class CategoryNameTranslationFromAPIModel
 74{
 75    public string en;
 76}

Methods/Properties

AttendEventMessageModel()