Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Commit

Permalink
PcoBase as PCL, code conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
peschuster committed May 29, 2014
1 parent 88829f8 commit 463bb93
Show file tree
Hide file tree
Showing 36 changed files with 696 additions and 82 deletions.
5 changes: 5 additions & 0 deletions PcoBase/Address.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,15 @@
public class Address
{
public int id { get; set; }

public string street { get; set; }

public string city { get; set; }

public string state { get; set; }

public string zip { get; set; }

public string location { get; set; }
}
}
32 changes: 26 additions & 6 deletions PcoBase/Arrangement.cs
Original file line number Diff line number Diff line change
@@ -1,37 +1,57 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Generic;

namespace PcoBase
{
public class Arrangement
{
public int id { get; set; }

public string name { get; set; }

public object bpm { get; set; }

public bool has_chords { get; set; }

public bool has_chord_chart { get; set; }

public int length { get; set; }

public string sequence_to_s { get; set; }

public string meter { get; set; }

public int song_id { get; set; }

public int update_by_id { get; set; }

public int created_by_id { get; set; }

public string updated_at { get; set; }

public string created_at { get; set; }

public string notes { get; set; }

public int minutes { get; set; }

public int seconds { get; set; }

public string formatted_length { get; set; }

public List<object> custom_zooms { get; set; }

public string chord_chart { get; set; }

public List<Attachment> attachments { get; set; }

public string chord_chart_key { get; set; }

public string chord_chart_font { get; set; }

public int chord_chart_columns { get; set; }

public int chord_chart_font_size { get; set; }

public List<Property> properties { get; set; }
}
}
}
24 changes: 18 additions & 6 deletions PcoBase/Attachement.cs
Original file line number Diff line number Diff line change
@@ -1,29 +1,41 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Generic;

namespace PcoBase
{
public class Attachment
{
public string id { get; set; }

public string url { get; set; }

public bool allow_mp3_download { get; set; }

public string content_type { get; set; }

public string filename { get; set; }

public bool downloadable { get; set; }

public bool streamable { get; set; }

public object comma_separated_page_order { get; set; }

public string comma_separated_attachment_type_ids { get; set; }

public string linked_object_type { get; set; }

public int linked_object_id { get; set; }

public double? offset_x { get; set; }

public double? offset_y { get; set; }

public double? zoom { get; set; }

public List<object> custom_zooms { get; set; }

public string secure_link { get; set; }

public string updated_at { get; set; }
}
}
}
5 changes: 5 additions & 0 deletions PcoBase/CategoryReminders.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,15 @@
public class CategoryReminders
{
public int category_694768 { get; set; }

public int category_694764 { get; set; }

public int category_694600 { get; set; }

public int category_694770 { get; set; }

public int category_710262 { get; set; }

public int category_694812 { get; set; }
}
}
4 changes: 4 additions & 0 deletions PcoBase/ContactData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ namespace PcoBase
public class ContactData
{
public int id { get; set; }

public int person_id { get; set; }

public List<Address> addresses { get; set; }

public List<EmailAddress> email_addresses { get; set; }

public List<PhoneNumber> phone_numbers { get; set; }
}
}
2 changes: 2 additions & 0 deletions PcoBase/EmailAddress.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
public class EmailAddress
{
public int id { get; set; }

public string address { get; set; }

public string location { get; set; }
}
}
31 changes: 31 additions & 0 deletions PcoBase/Item.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,36 +5,67 @@ namespace PcoBase
public class Item
{
public int id { get; set; }

public string title { get; set; }

public int sequence { get; set; }

public int plan_id { get; set; }

public string dom_id { get; set; }

public string type { get; set; }

public int length { get; set; }

public string length_formatted { get; set; }

public string detail { get; set; }

public int comments_count { get; set; }

public bool is_preservice { get; set; }

public bool is_postservice { get; set; }

public bool is_header { get; set; }

public List<object> plan_item_medias { get; set; }

public List<ItemNote> plan_item_notes { get; set; }

public List<ItemTime> plan_item_times { get; set; }

public int ccli_print_single { get; set; }

public int ccli_print_collected { get; set; }

public int ccli_screen { get; set; }

public int ccli_custom_arrangement { get; set; }

public int ccli_recorded { get; set; }

public int? song_id { get; set; }

public int? arrangement_id { get; set; }

public int? key_id { get; set; }

public string information { get; set; }

public string description { get; set; }

public string arrangement_sequence_to_s { get; set; }

public List<Attachment> attachments { get; set; }

public Song song { get; set; }

public PlanItemArrangement arrangement { get; set; }

public Key key { get; set; }

public string music_stand_attachment_id { get; set; }
}
}
12 changes: 5 additions & 7 deletions PcoBase/ItemNote.cs
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PcoBase
namespace PcoBase
{
public class ItemNote
{
public int id { get; set; }

public string note { get; set; }

public int category_id { get; set; }

public string category_name { get; set; }
}
}
}
15 changes: 8 additions & 7 deletions PcoBase/ItemTime.cs
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PcoBase
namespace PcoBase
{
public class ItemTime
{
public int id { get; set; }

public int plan_item_id { get; set; }

public int time_id { get; set; }

public object live_start { get; set; }

public object live_end { get; set; }

public int plan_id { get; set; }

public bool exclude { get; set; }
}
}
}
4 changes: 4 additions & 0 deletions PcoBase/Key.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ namespace PcoBase
public class Key
{
public int id { get; set; }

public string starting { get; set; }

public string ending { get; set; }

public string name { get; set; }

public List<object> alternate_keys { get; set; }
}
}
21 changes: 21 additions & 0 deletions PcoBase/MinistryPositionsResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,47 @@ namespace PcoBase
public class MinistryPositionsResult
{
public int id { get; set; }

public string name { get; set; }

public int parent_id { get; set; }

public string type { get; set; }

public string container { get; set; }

public object container_id { get; set; }

public int? sequence { get; set; }

public bool attachment_types_enabled { get; set; }

public string permissions { get; set; }

public int? ministry_id { get; set; }

public int? service_type_id { get; set; }

public string service_type { get; set; }

public string name_for_data_attr { get; set; }

public int? scheduled_viewers_see { get; set; }

public int? category_id { get; set; }

public Properties properties { get; set; }

public List<string> attachment_type_ids { get; set; }

public string category_name { get; set; }

public int? category_sequence { get; set; }

public string position { get; set; }

public int? quantity { get; set; }

public bool? can_be_deleted { get; set; }
}
}
13 changes: 13 additions & 0 deletions PcoBase/Organization.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,31 @@ namespace PcoBase
public class Organization
{
public int id { get; set; }

public int account_center_id { get; set; }

public string name { get; set; }

public string owner_name { get; set; }

public bool music_stand_enabled { get; set; }

public object projector_enabled { get; set; }

public bool ccli_connected { get; set; }

public int secret { get; set; }

public int date_format { get; set; }

public bool twenty_four_hour_time { get; set; }

public int total_songs { get; set; }

public int total_people { get; set; }

public List<ServiceType> service_types { get; set; }

public List<ServiceTypeFolder> service_type_folders { get; set; }
}
}
Loading

0 comments on commit 463bb93

Please sign in to comment.