using System; using System.Xml.Serialization; namespace FlickrNet { /// /// A list of service the Flickr.Net API Supports. /// /// /// Not all methods are supported by all service. Behaviour of the library may be unpredictable if not using Flickr /// as your service. /// public enum SupportedService { /// /// Flickr - http://www.flickr.com/services/api /// Flickr = 0, /// /// Zooomr - http://blog.zooomr.com/2006/03/27/attention-developers/ /// Zooomr = 1, /// /// 23HQ = http://www.23hq.com/doc/api/ /// TwentyThreeHQ = 2 } /// /// Used to specify where all tags must be matched or any tag to be matched. /// public enum TagMode { /// /// No tag mode specified. /// None, /// /// Any tag must match, but not all. /// AnyTag, /// /// All tags must be found. /// AllTags, /// /// Uncodumented and unsupported tag mode where boolean operators are supported. /// Boolean } /// /// When searching for photos you can filter on the privacy of the photos. /// public enum PrivacyFilter { /// /// Do not filter. /// None = 0, /// /// Show only public photos. /// PublicPhotos = 1, /// /// Show photos which are marked as private but viewable by family contacts. /// PrivateVisibleToFamily = 2, /// /// Show photos which are marked as private but viewable by friends. /// PrivateVisibleToFriends = 3, /// /// Show photos which are marked as private but viewable by friends and family contacts. /// PrivateVisibleToFriendsFamily = 4, /// /// Show photos which are marked as completely private. /// CompletelyPrivate = 5 } /// /// An enumeration defining who can add comments. /// public enum PermissionComment { /// /// Nobody. /// [XmlEnum("0")] Nobody = 0, /// /// Friends and family only. /// [XmlEnum("1")] FriendsAndFamily = 1, /// /// Contacts only. /// [XmlEnum("2")] ContactsOnly = 2, /// /// All Flickr users. /// [XmlEnum("3")] Everybody = 3 } /// /// An enumeration defining who can add meta data (tags and notes). /// public enum PermissionAddMeta { /// /// The owner of the photo only. /// [XmlEnum("0")] Owner = 0, /// /// Friends and family only. /// [XmlEnum("1")] FriendsAndFamily = 1, /// /// All contacts. /// [XmlEnum("2")] Contacts = 2, /// /// All Flickr users. /// [XmlEnum("3")] Everybody = 3 } }