Consent Class

public final class Consent
extends ExpandableStringEnum<Consent>

Advanced diagnostic consent to be updated on the support ticket.

Field Summary

Modifier and Type Field and Description
static final Consent NO

Static value No for Consent.

static final Consent YES

Static value Yes for Consent.

Constructor Summary

Constructor Description
Consent()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Consent value.

Method Summary

Modifier and Type Method and Description
static Consent fromString(String name)

Creates or finds a Consent from its string representation.

static Collection<Consent> values()

Gets known Consent values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

public static final Consent NO

Static value No for Consent.

public static final Consent YES

Static value Yes for Consent.

Constructor Details

@Deprecated
public Consent()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Consent value.

Method Details

public static Consent fromString(String name)

Creates or finds a Consent from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding Consent.

public static Collection<Consent> values()

Gets known Consent values.

Returns:

known Consent values.

Applies to