C# Class Mono.Upcoming.AuthenticatedConnection

Inheritance: UpcomingConnection
Mostrar archivo Open project: mono/upcoming-sharp Class Usage Examples

Public Methods

Method Description
AddEvent ( string name, Venue venue, Category category, System.DateTime start_date ) : Event
AddEvent ( string name, Venue venue, Category category, System.DateTime start_date, string description, bool personal, bool selfpromotion ) : Event
AddEventToGroup ( Event event_to_add, Group group ) : void
AddEventToWatchList ( Event event_to_add ) : int
AddEventToWatchList ( Event event_to_add, AttendStatus status ) : int
AddGroup ( string name, string description, ModerationLevel moderation_level, bool is_private ) : Group
AddTagsToEvent ( Event event_to_edit, string tags ) : void
AddVenue ( string venuename, string venueaddress, string venuecity, Metro metro, string venuezip, string venuephone, Uri venueurl, string venuedescription, bool is_private ) : Venue
AuthenticatedConnection ( string api_key ) : System
AuthenticatedConnection ( string token, string api_key ) : System
CreateToken ( string frob ) : void
EditEvent ( Event event_to_edit ) : Event
EditGroup ( Group group ) : Group
EditVenue ( Venue venue ) : void
GetGroupParams ( string name, string description, ModerationLevel moderation_level, bool is_private ) : Mono.Upcoming.UpcomingParam[]
GetMetroList ( ) : Mono.Upcoming.Metro[]
GetMyGroups ( ) : Mono.Upcoming.Group[]
GetUserInfo ( ) : User
GetWatchList ( ) : Mono.Upcoming.Watch[]
JoinGroup ( Group group ) : void
LeaveGroup ( Group group ) : void
RemoveTagFromEvent ( Event event_to_edit, string tag ) : void
RemoveWatch ( Watch watch ) : void

Private Methods

Method Description
CheckToken ( string token ) : void
CreateVenueParams ( string venuename, string venueaddress, string venuecity, int metro_id, string venuezip, string venuephone, string venueurl, string venuedescription, bool is_private ) : ArrayList
GetEventParams ( string name, string description, int venue_id, int category_id, System.DateTime start_date, bool personal, bool self_promotion ) : Mono.Upcoming.UpcomingParam[]
GetGroupEvents ( int group_id, int page_nr, int events_per_page ) : Mono.Upcoming.Event[]
GetGroupMembers ( int group_id, int page_nr, int members_per_page ) : Mono.Upcoming.User[]
GetGroups ( int event_id ) : Mono.Upcoming.Group[]
GetVenues ( int metro_id ) : Mono.Upcoming.Venue[]

Method Details

AddEvent() public method

public AddEvent ( string name, Venue venue, Category category, System.DateTime start_date ) : Event
name string
venue Venue
category Category
start_date System.DateTime
return Event

AddEvent() public method

public AddEvent ( string name, Venue venue, Category category, System.DateTime start_date, string description, bool personal, bool selfpromotion ) : Event
name string
venue Venue
category Category
start_date System.DateTime
description string
personal bool
selfpromotion bool
return Event

AddEventToGroup() public method

public AddEventToGroup ( Event event_to_add, Group group ) : void
event_to_add Event
group Group
return void

AddEventToWatchList() public method

public AddEventToWatchList ( Event event_to_add ) : int
event_to_add Event
return int

AddEventToWatchList() public method

public AddEventToWatchList ( Event event_to_add, AttendStatus status ) : int
event_to_add Event
status AttendStatus
return int

AddGroup() public method

public AddGroup ( string name, string description, ModerationLevel moderation_level, bool is_private ) : Group
name string
description string
moderation_level ModerationLevel
is_private bool
return Group

AddTagsToEvent() public method

public AddTagsToEvent ( Event event_to_edit, string tags ) : void
event_to_edit Event
tags string
return void

AddVenue() public method

public AddVenue ( string venuename, string venueaddress, string venuecity, Metro metro, string venuezip, string venuephone, Uri venueurl, string venuedescription, bool is_private ) : Venue
venuename string
venueaddress string
venuecity string
metro Metro
venuezip string
venuephone string
venueurl System.Uri
venuedescription string
is_private bool
return Venue

AuthenticatedConnection() public method

public AuthenticatedConnection ( string api_key ) : System
api_key string
return System

AuthenticatedConnection() public method

public AuthenticatedConnection ( string token, string api_key ) : System
token string
api_key string
return System

CreateToken() public method

public CreateToken ( string frob ) : void
frob string
return void

EditEvent() public method

public EditEvent ( Event event_to_edit ) : Event
event_to_edit Event
return Event

EditGroup() public method

public EditGroup ( Group group ) : Group
group Group
return Group

EditVenue() public method

public EditVenue ( Venue venue ) : void
venue Venue
return void

GetGroupParams() public method

public GetGroupParams ( string name, string description, ModerationLevel moderation_level, bool is_private ) : Mono.Upcoming.UpcomingParam[]
name string
description string
moderation_level ModerationLevel
is_private bool
return Mono.Upcoming.UpcomingParam[]

GetMetroList() public method

public GetMetroList ( ) : Mono.Upcoming.Metro[]
return Mono.Upcoming.Metro[]

GetMyGroups() public method

public GetMyGroups ( ) : Mono.Upcoming.Group[]
return Mono.Upcoming.Group[]

GetUserInfo() public method

public GetUserInfo ( ) : User
return User

GetWatchList() public method

public GetWatchList ( ) : Mono.Upcoming.Watch[]
return Mono.Upcoming.Watch[]

JoinGroup() public method

public JoinGroup ( Group group ) : void
group Group
return void

LeaveGroup() public method

public LeaveGroup ( Group group ) : void
group Group
return void

RemoveTagFromEvent() public method

public RemoveTagFromEvent ( Event event_to_edit, string tag ) : void
event_to_edit Event
tag string
return void

RemoveWatch() public method

public RemoveWatch ( Watch watch ) : void
watch Watch
return void