| Package | com.yahoo.webapis.upcoming |
| Class | public class Country |
| Inheritance | Country flash.events.EventDispatcher |
| Property | Defined by | ||
|---|---|---|---|
| code : String
Country code (on Upcoming.org)
| Country | ||
| id : Number
Country's Upcoming.org identification number
| Country | ||
| name : String
Country name
| Country | ||
| parent_service : UpcomingService
Defines the parent UpcomingService for this country (used to access the token and API key)
| Country | ||
| Method | Defined by | ||
|---|---|---|---|
|
Country(_parent_service:UpcomingService, _id:Number, _name:String, _code:String)
Country class constructor
| Country | ||
|
update(_id:Number):void
This method updates the data in the specific instance of Country
by the ID number.
| Country | ||
| code | property |
public var code:StringCountry code (on Upcoming.org)
| id | property |
public var id:NumberCountry's Upcoming.org identification number
| name | property |
public var name:StringCountry name
| parent_service | property |
public var parent_service:UpcomingServiceDefines the parent UpcomingService for this country (used to access the token and API key)
| Country | () | constructor |
public function Country(_parent_service:UpcomingService, _id:Number, _name:String, _code:String)Country class constructor
Parameters_parent_service:UpcomingService — An UpcomingService with an instantiated token and API key.
|
|
_id:Number — Country's Upcoming.org identification number
|
|
_name:String — Country's name
|
|
_code:String — Country's code
|
| update | () | method |
public function update(_id:Number):void
This method updates the data in the specific instance of Country
by the ID number. If the id property is already filled in,
then no argument needs to be passed. Otherwise, pass the country's
Upcoming.org identification number.
When the update completes, the country class will dispatch an
UpcomingResultEvent.COUNTRY_GET_INFO event.
_id:Number — The country's Upcoming.org identification number, if
none is filled in.
|