public class Ad extends Object
Modifier and Type | Class | Description |
---|---|---|
class |
Ad.Attribute |
Class containing name and value for an ad attribute.
|
Modifier and Type | Method | Description |
---|---|---|
void |
addAttribute(String name,
String value) |
Adds an attribute to the ad.
|
Ad.Attribute |
attribute(String name) |
|
List<Ad.Attribute> |
attributes() |
|
IsoDateTime |
endTime() |
|
String |
key() |
|
IsoDateTime |
startTime() |
|
String |
toString() |
public Ad(String key)
public void addAttribute(String name, String value)
name
- The name of the attribute.value
- The value for the attribute.public String key()
public IsoDateTime startTime()
public IsoDateTime endTime()
public List<Ad.Attribute> attributes()
public Ad.Attribute attribute(String name)
name
- The name for the attribute to get.Copyright © 2020 Apptus Technologies AB. All rights reserved.