< 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:46
Line coverage:0% (0 of 1)
Covered branches:0
Total branches:0

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 bool ok;
 8    public List<EventFromAPIModel> data;
 9}
 10
 11[Serializable]
 12public class EventFromAPIModel
 13{
 14    public string id;
 15    public string name;
 16    public string image;
 17    public string description;
 18    public string next_start_at;
 19    public string finish_at;
 20    public string scene_name;
 21    public int[] coordinates;
 22    public string realm;
 23    public int total_attendees;
 24    public bool live;
 25    public string user_name;
 26    public bool highlighted;
 27    public bool trending;
 28    public bool attending;
 29}
 30
 31[Serializable]
 32public class AttendEventRequestModel
 33{
 34    public string address;
 35    public AttendEventMessageModel message;
 36    public string signature;
 37}
 38
 39[Serializable]
 40public class AttendEventMessageModel
 41{
 042    public string type = "attend";
 43    public string timestamp;
 44    public string @event;
 45    public bool attend;
 46}

Methods/Properties

AttendEventMessageModel()