Class GoogleJsonError.Details (2.1.2)

public static class GoogleJsonError.Details extends GenericJson

Inheritance

java.lang.Object > java.util.AbstractMap > com.google.api.client.util.GenericData > com.google.api.client.json.GenericJson > GoogleJsonError.Details

Constructors

Details()

public Details()

Methods

getDetail()

public String getDetail()
Returns
Type Description
String

getParameterViolations()

public List<GoogleJsonError.ParameterViolations> getParameterViolations()
Returns
Type Description
List<ParameterViolations>

getReason()

public String getReason()
Returns
Type Description
String

getType()

public String getType()
Returns
Type Description
String

setDetail(String detail)

public void setDetail(String detail)
Parameter
Name Description
detail String

setParameterViolations(List<GoogleJsonError.ParameterViolations> parameterViolations)

public void setParameterViolations(List<GoogleJsonError.ParameterViolations> parameterViolations)

Sets parameterViolations list as immutable to prevent exposing mutable state.

Parameter
Name Description
parameterViolations List<ParameterViolations>

setReason(String reason)

public void setReason(String reason)
Parameter
Name Description
reason String

setType(String type)

public void setType(String type)
Parameter
Name Description
type String