GData JavaScript Client 1.6

Class google.gdata.mediarss.MediaRestriction

Object
   |
   +--google.gdata.mediarss.MediaRestriction

class google.gdata.mediarss.MediaRestriction


Describes a media restriction.
Defined in gdata.js


Field Summary
 {String|undefined} $t
          Distributor URIs or country codes.
 {String|undefined} relationship
          Type of relationship, either 'allow' or 'deny'.
 {String|undefined} type
          Type of restriction, either 'country' or 'uri'.
<static>  <final> String RELATIONSHIP_ALLOW
          Allow only the given restriction.
<static>  <final> String RELATIONSHIP_DENY
          Deny the given restriction.
<static>  <final> String TYPE_COUNTRY
          Restriction is a country identifier.
<static>  <final> String TYPE_URI
          Restriction is a URI.
 
Constructor Summary
google.gdata.mediarss.MediaRestriction(<Object> opt_params)
            Constructs a media restriction using an object parameter whose property names match the setter method to use for each property.
 
Method Summary
 String|undefined getContent()
           Returns the distributor URIs or country codes.
 String|undefined getRelationship()
           Returns the type of relationship, either 'allow' or 'deny'.
 String|undefined getType()
           Returns the type of restriction, either 'country' or 'uri'.
 void setContent(<String|undefined> content)
           Sets the distributor URIs or country codes.
 void setRelationship(<String|undefined> relationship)
           Sets the type of relationship, either 'allow' or 'deny'.
 void setType(<String|undefined> type)
           Sets the type of restriction, either 'country' or 'uri'.

Field Detail

$t

{String|undefined} $t

relationship

{String|undefined} relationship

type

{String|undefined} type

RELATIONSHIP_ALLOW

<static> <final> String RELATIONSHIP_ALLOW

RELATIONSHIP_DENY

<static> <final> String RELATIONSHIP_DENY

TYPE_COUNTRY

<static> <final> String TYPE_COUNTRY

TYPE_URI

<static> <final> String TYPE_URI

Constructor Detail

google.gdata.mediarss.MediaRestriction

google.gdata.mediarss.MediaRestriction(<Object> opt_params)

Method Detail

getContent

String|undefined getContent()

getRelationship

String|undefined getRelationship()

getType

String|undefined getType()

setContent

void setContent(<String|undefined> content)

setRelationship

void setRelationship(<String|undefined> relationship)

setType

void setType(<String|undefined> type)

GData JavaScript Client 1.6

Documentation generated by JSDoc on Tue Oct 14 17:57:25 2008