public final class LhrEntity
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the PageSpeed Insights API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
LhrEntity() |
| Modifier and Type | Method and Description |
|---|---|
LhrEntity |
clone() |
String |
getCategory()
Optional.
|
String |
getHomepage()
Optional.
|
Boolean |
getIsFirstParty()
Optional.
|
Boolean |
getIsUnrecognized()
Optional.
|
String |
getName()
Required.
|
List<String> |
getOrigins()
Required.
|
LhrEntity |
set(String fieldName,
Object value) |
LhrEntity |
setCategory(String category)
Optional.
|
LhrEntity |
setHomepage(String homepage)
Optional.
|
LhrEntity |
setIsFirstParty(Boolean isFirstParty)
Optional.
|
LhrEntity |
setIsUnrecognized(Boolean isUnrecognized)
Optional.
|
LhrEntity |
setName(String name)
Required.
|
LhrEntity |
setOrigins(List<String> origins)
Required.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getCategory()
null for nonepublic LhrEntity setCategory(String category)
category - category or null for nonepublic String getHomepage()
null for nonepublic LhrEntity setHomepage(String homepage)
homepage - homepage or null for nonepublic Boolean getIsFirstParty()
null for nonepublic LhrEntity setIsFirstParty(Boolean isFirstParty)
isFirstParty - isFirstParty or null for nonepublic Boolean getIsUnrecognized()
null for nonepublic LhrEntity setIsUnrecognized(Boolean isUnrecognized)
isUnrecognized - isUnrecognized or null for nonepublic String getName()
null for nonepublic LhrEntity setName(String name)
name - name or null for nonepublic List<String> getOrigins()
null for nonepublic LhrEntity setOrigins(List<String> origins)
origins - origins or null for nonepublic LhrEntity set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic LhrEntity clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.