public final class RunMobileFriendlyTestResponse
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 Google Search Console 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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
RunMobileFriendlyTestResponse() |
Modifier and Type | Method and Description |
---|---|
RunMobileFriendlyTestResponse |
clone() |
String |
getMobileFriendliness()
Test verdict, whether the page is mobile friendly or not.
|
List<MobileFriendlyIssue> |
getMobileFriendlyIssues()
List of mobile-usability issues.
|
List<ResourceIssue> |
getResourceIssues()
Information about embedded resources issues.
|
Image |
getScreenshot()
Screenshot of the requested URL.
|
TestStatus |
getTestStatus()
Final state of the test, can be either complete or an error.
|
RunMobileFriendlyTestResponse |
set(String fieldName,
Object value) |
RunMobileFriendlyTestResponse |
setMobileFriendliness(String mobileFriendliness)
Test verdict, whether the page is mobile friendly or not.
|
RunMobileFriendlyTestResponse |
setMobileFriendlyIssues(List<MobileFriendlyIssue> mobileFriendlyIssues)
List of mobile-usability issues.
|
RunMobileFriendlyTestResponse |
setResourceIssues(List<ResourceIssue> resourceIssues)
Information about embedded resources issues.
|
RunMobileFriendlyTestResponse |
setScreenshot(Image screenshot)
Screenshot of the requested URL.
|
RunMobileFriendlyTestResponse |
setTestStatus(TestStatus testStatus)
Final state of the test, can be either complete or an error.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getMobileFriendliness()
null
for nonepublic RunMobileFriendlyTestResponse setMobileFriendliness(String mobileFriendliness)
mobileFriendliness
- mobileFriendliness or null
for nonepublic List<MobileFriendlyIssue> getMobileFriendlyIssues()
null
for nonepublic RunMobileFriendlyTestResponse setMobileFriendlyIssues(List<MobileFriendlyIssue> mobileFriendlyIssues)
mobileFriendlyIssues
- mobileFriendlyIssues or null
for nonepublic List<ResourceIssue> getResourceIssues()
null
for nonepublic RunMobileFriendlyTestResponse setResourceIssues(List<ResourceIssue> resourceIssues)
resourceIssues
- resourceIssues or null
for nonepublic Image getScreenshot()
null
for nonepublic RunMobileFriendlyTestResponse setScreenshot(Image screenshot)
screenshot
- screenshot or null
for nonepublic TestStatus getTestStatus()
null
for nonepublic RunMobileFriendlyTestResponse setTestStatus(TestStatus testStatus)
testStatus
- testStatus or null
for nonepublic RunMobileFriendlyTestResponse set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public RunMobileFriendlyTestResponse clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.