the url of a page that describes the sponsorship deal (occasionally used to describe foundation type deals involving multiple sponsors)
an optional logo to be displayed on darker background media pages, if not supplied the standard logo will be displayed on these pages
the id of the sponsorship, this is required internally but is not of use for external systems
the url to link to when clicking the sponsor logo
the logo to display for the sponsor
the name of the sponsor
the type of the sponsorship
targeting information for the sponsorship, always show the sponsorship if this is missing
The date of which the sponsorship is valid from
The date of which the sponsorship is valid to
Gets a field value encoded as a binary blob using TCompactProtocol.
Gets a field value encoded as a binary blob using TCompactProtocol. If the specified field is present in the passthrough map, that value is returned. Otherwise, if the specified field is known and not optional and set to None, then the field is serialized and returned.
Collects TCompactProtocol-encoded field values according to getFieldBlob
into a map.
Sets a field using a TCompactProtocol-encoded binary blob.
Sets a field using a TCompactProtocol-encoded binary blob. If the field is a known field, the blob is decoded and the field is set to the decoded value. If the field is unknown and passthrough fields are enabled, then the blob will be stored in _passthroughFields.
If the specified field is optional, it is set to None.
If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.
If the specified field is optional, it is set to None.
If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.
Prefer the companion object's com.gu.tagmanagement.Sponsorship.apply for construction if you don't need to specify passthrough fields.