Google Analytics API v3 (revision 41)



com.google.api.services.analytics.model
Class Goal.EventDetails.EventConditions

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.json.GenericJson
              extended by com.google.api.services.analytics.model.Goal.EventDetails.EventConditions
All Implemented Interfaces:
Cloneable, Map<String,Object>
Enclosing class:
Goal.EventDetails

public static final class Goal.EventDetails.EventConditions
extends GenericJson

Model definition for GoalEventDetailsEventConditions.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
Goal.EventDetails.EventConditions()
           
 
Method Summary
 Goal.EventDetails.EventConditions clone()
           
 String getComparisonType()
          Type of comparison.
 Long getComparisonValue()
          Value used for this comparison.
 String getExpression()
          Expression used for this match.
 String getMatchType()
          Type of the match to be performed.
 String getType()
          Type of this event condition.
 Goal.EventDetails.EventConditions set(String fieldName, Object value)
           
 Goal.EventDetails.EventConditions setComparisonType(String comparisonType)
          Type of comparison.
 Goal.EventDetails.EventConditions setComparisonValue(Long comparisonValue)
          Value used for this comparison.
 Goal.EventDetails.EventConditions setExpression(String expression)
          Expression used for this match.
 Goal.EventDetails.EventConditions setMatchType(String matchType)
          Type of the match to be performed.
 Goal.EventDetails.EventConditions setType(String type)
          Type of this event condition.
 
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
 
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Goal.EventDetails.EventConditions

public Goal.EventDetails.EventConditions()
Method Detail

getComparisonType

public String getComparisonType()
Type of comparison. Possible values are LESS_THAN, GREATER_THAN or EQUAL.

Returns:
value or null for none

setComparisonType

public Goal.EventDetails.EventConditions setComparisonType(String comparisonType)
Type of comparison. Possible values are LESS_THAN, GREATER_THAN or EQUAL.

Parameters:
comparisonType - comparisonType or null for none

getComparisonValue

public Long getComparisonValue()
Value used for this comparison.

Returns:
value or null for none

setComparisonValue

public Goal.EventDetails.EventConditions setComparisonValue(Long comparisonValue)
Value used for this comparison.

Parameters:
comparisonValue - comparisonValue or null for none

getExpression

public String getExpression()
Expression used for this match.

Returns:
value or null for none

setExpression

public Goal.EventDetails.EventConditions setExpression(String expression)
Expression used for this match.

Parameters:
expression - expression or null for none

getMatchType

public String getMatchType()
Type of the match to be performed. Possible values are REGEXP, BEGINS_WITH, or EXACT.

Returns:
value or null for none

setMatchType

public Goal.EventDetails.EventConditions setMatchType(String matchType)
Type of the match to be performed. Possible values are REGEXP, BEGINS_WITH, or EXACT.

Parameters:
matchType - matchType or null for none

getType

public String getType()
Type of this event condition. Possible values are CATEGORY, ACTION, LABEL, or VALUE.

Returns:
value or null for none

setType

public Goal.EventDetails.EventConditions setType(String type)
Type of this event condition. Possible values are CATEGORY, ACTION, LABEL, or VALUE.

Parameters:
type - type or null for none

set

public Goal.EventDetails.EventConditions set(String fieldName,
                                             Object value)
Overrides:
set in class GenericJson

clone

public Goal.EventDetails.EventConditions clone()
Overrides:
clone in class GenericJson