GDataMediaCredit

## GDataMediaCredit GDataMediaCredit — Media RSS credit element |

## Stability Level

Unstable, unless otherwise indicated

## Synopsis

    #include <gdata/media/gdata-media-credit.h>

                        GDataMediaCredit;
                        GDataMediaCreditClass;
    const gchar *       gdata_media_credit_get_credit       (GDataMediaCredit *self);
    const gchar *       gdata_media_credit_get_scheme       (GDataMediaCredit *self);
    const gchar *       gdata_media_credit_get_role         (GDataMediaCredit *self);

## Object Hierarchy

      GObject
       +----GDataParsable
             +----GDataMediaCredit
                   +----GDataYouTubeCredit

## Properties

      "credit"                   gchar*                : Read
      "role"                     gchar*                : Read
      "scheme"                   gchar*                : Read

## Description

GDataMediaCredit represents a "credit" element from the Media RSS specification.

The class only implements parsing, not XML output, at the moment.

## Details

### GDataMediaCredit

    typedef struct _GDataMediaCredit GDataMediaCredit;

All the fields in the GDataMediaCredit structure are private and should never be accessed directly.

### GDataMediaCreditClass

    typedef struct {
    } GDataMediaCreditClass;

All the fields in the GDataMediaCreditClass structure are private and should never be accessed directly.

Since 0.4.0

### gdata_media_credit_get_credit ()

    const gchar *       gdata_media_credit_get_credit       (GDataMediaCredit *self);

Gets the "credit" property.

`self` : | a GDataMediaCredit
Returns : | the name of the credited entity

Since 0.4.0

### gdata_media_credit_get_scheme ()

    const gchar *       gdata_media_credit_get_scheme       (GDataMediaCredit *self);

Gets the "scheme" property.

`self` : | a GDataMediaCredit
Returns : | the credit's role scheme, or `NULL`

Since 0.4.0

### gdata_media_credit_get_role ()

    const gchar *       gdata_media_credit_get_role         (GDataMediaCredit *self);

Gets the "role" property.

`self` : | a GDataMediaCredit
Returns : | the credited entity's role, or `NULL`

Since 0.4.0

## Property Details

### The `"credit"` property

      "credit"                   gchar*                : Read

The credited entity's name.

For more information, see the Media RSS specification.

Default value: NULL

Since 0.4.0

### The `"role"` property

      "role"                     gchar*                : Read

The role the credited entity played in the production of the media.

For more information, see the Media RSS specification.

Default value: NULL

Since 0.4.0

### The `"scheme"` property

      "scheme"                   gchar*                : Read

A URI that identifies the role scheme.

For more information, see the Media RSS specification.

Default value: NULL

Since 0.4.0