ParticipantPropertyReference Class
- java.
lang. Object - com.
azure. resourcemanager. customerinsights. models. ParticipantPropertyReference
- com.
Implements
public final class ParticipantPropertyReference
implements JsonSerializable<ParticipantPropertyReference>
The participant property reference.
Constructor Summary
| Constructor | Description |
|---|---|
| ParticipantPropertyReference() |
Creates an instance of Participant |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Participant |
fromJson(JsonReader jsonReader)
Reads an instance of Participant |
| String |
sourcePropertyName()
Get the source |
| String |
targetPropertyName()
Get the target |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Participant |
withSourcePropertyName(String sourcePropertyName)
Set the source |
|
Participant |
withTargetPropertyName(String targetPropertyName)
Set the target |
Methods inherited from java.lang.Object
Constructor Details
ParticipantPropertyReference
public ParticipantPropertyReference()
Creates an instance of ParticipantPropertyReference class.
Method Details
fromJson
public static ParticipantPropertyReference fromJson(JsonReader jsonReader)
Reads an instance of ParticipantPropertyReference from the JsonReader.
Parameters:
Returns:
Throws:
sourcePropertyName
public String sourcePropertyName()
Get the sourcePropertyName property: The source property that maps to the target property.
Returns:
targetPropertyName
public String targetPropertyName()
Get the targetPropertyName property: The target property that maps to the source property.
Returns:
toJson
validate
public void validate()
Validates the instance.
withSourcePropertyName
public ParticipantPropertyReference withSourcePropertyName(String sourcePropertyName)
Set the sourcePropertyName property: The source property that maps to the target property.
Parameters:
Returns:
withTargetPropertyName
public ParticipantPropertyReference withTargetPropertyName(String targetPropertyName)
Set the targetPropertyName property: The target property that maps to the source property.
Parameters:
Returns: