Packagecom.adobe.webapis.flickr
Classpublic class License

License is a ValueObject for the Flickr API. There are also static constants to map license numbers to name values and make code more readable.



Public Properties
 PropertyDefined by
  id : int
The id of the license
License
  name : String
The name of the license
License
  url : String
The url of the license
License
Public Methods
 MethodDefined by
  
Construct a new License instance
License
Public Constants
 ConstantDefined by
  ALL_RIGHTS_RESERVED : int = 0
[static]
License
  ATTRIBUTION : int = 4
[static]
License
  ATTRIBUTION_NODERIVS : int = 6
[static]
License
  ATTRIBUTION_NONCOMMERCIAL : int = 2
[static]
License
  ATTRIBUTION_NONCOMMERCIAL_NODERIVS : int = 3
[static]
License
  ATTRIBUTION_NONCOMMERCIAL_SHAREALIKE : int = 1
[static]
License
  ATTRIBUTION_SHAREALIKE : int = 5
[static]
License
Property detail
idproperty
id:int  [read-write]

The id of the license

Implementation
    public function get id():int
    public function set id(value:int):void
nameproperty 
name:String  [read-write]

The name of the license

Implementation
    public function get name():String
    public function set name(value:String):void
urlproperty 
url:String  [read-write]

The url of the license

Implementation
    public function get url():String
    public function set url(value:String):void
Constructor detail
License()constructor
public function License()

Construct a new License instance

Constant detail
ALL_RIGHTS_RESERVEDconstant
public static const ALL_RIGHTS_RESERVED:int = 0
ATTRIBUTIONconstant 
public static const ATTRIBUTION:int = 4
ATTRIBUTION_NODERIVSconstant 
public static const ATTRIBUTION_NODERIVS:int = 6
ATTRIBUTION_NONCOMMERCIALconstant 
public static const ATTRIBUTION_NONCOMMERCIAL:int = 2
ATTRIBUTION_NONCOMMERCIAL_NODERIVSconstant 
public static const ATTRIBUTION_NONCOMMERCIAL_NODERIVS:int = 3
ATTRIBUTION_NONCOMMERCIAL_SHAREALIKEconstant 
public static const ATTRIBUTION_NONCOMMERCIAL_SHAREALIKE:int = 1
ATTRIBUTION_SHAREALIKEconstant 
public static const ATTRIBUTION_SHAREALIKE:int = 5