Package com.dropbox.core.v2.teamlog
Class OriginLogInfo
java.lang.Object
com.dropbox.core.v2.teamlog.OriginLogInfo
The origin from which the actor performed the action.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AccessMethodLogInfoprotected final GeoLocationLogInfo -
Constructor Summary
ConstructorsConstructorDescriptionOriginLogInfo(AccessMethodLogInfo accessMethod) The origin from which the actor performed the action.OriginLogInfo(AccessMethodLogInfo accessMethod, GeoLocationLogInfo geoLocation) The origin from which the actor performed the action. -
Method Summary
-
Field Details
-
geoLocation
-
accessMethod
-
-
Constructor Details
-
OriginLogInfo
public OriginLogInfo(@Nonnull AccessMethodLogInfo accessMethod, @Nullable GeoLocationLogInfo geoLocation) The origin from which the actor performed the action.- Parameters:
accessMethod- The method that was used to perform the action. Must not benull.geoLocation- Geographic location details.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
OriginLogInfo
The origin from which the actor performed the action.The default values for unset fields will be used.
- Parameters:
accessMethod- The method that was used to perform the action. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getAccessMethod
The method that was used to perform the action.- Returns:
- value for this field, never
null.
-
getGeoLocation
Geographic location details.- Returns:
- value for this field, or
nullif not present.
-
hashCode
public int hashCode() -
equals
-
toString
-
toStringMultiline
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Returns:
- Formatted, multiline String representation of this object
-