target.apidocs.com.google.api.services.content.model.CollectionStatus.html Maven / Gradle / Ivy
CollectionStatus (Content API for Shopping v2.1-rev20220413-1.32.1)
com.google.api.services.content.model
Class CollectionStatus
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.content.model.CollectionStatus
-
public final class CollectionStatus
extends GenericJson
The collectionstatus message.
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 Content API for Shopping. For a detailed explanation
see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
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>
-
Constructor Summary
Constructors
Constructor and Description
CollectionStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
CollectionStatus
clone()
List<CollectionStatusItemLevelIssue>
getCollectionLevelIssuses()
A list of all issues associated with the collection.
String
getCreationDate()
Date on which the collection has been created in [ISO
8601](http://en.wikipedia.org/wiki/ISO_8601) format: Date, time, and offset, e.g.
List<CollectionStatusDestinationStatus>
getDestinationStatuses()
The intended destinations for the collection.
String
getId()
Required.
String
getLastUpdateDate()
Date on which the collection has been last updated in [ISO
8601](http://en.wikipedia.org/wiki/ISO_8601) format: Date, time, and offset, e.g.
CollectionStatus
set(String fieldName,
Object value)
CollectionStatus
setCollectionLevelIssuses(List<CollectionStatusItemLevelIssue> collectionLevelIssuses)
A list of all issues associated with the collection.
CollectionStatus
setCreationDate(String creationDate)
Date on which the collection has been created in [ISO
8601](http://en.wikipedia.org/wiki/ISO_8601) format: Date, time, and offset, e.g.
CollectionStatus
setDestinationStatuses(List<CollectionStatusDestinationStatus> destinationStatuses)
The intended destinations for the collection.
CollectionStatus
setId(String id)
Required.
CollectionStatus
setLastUpdateDate(String lastUpdateDate)
Date on which the collection has been last updated in [ISO
8601](http://en.wikipedia.org/wiki/ISO_8601) format: Date, time, and offset, e.g.
-
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, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getCollectionLevelIssuses
public List<CollectionStatusItemLevelIssue> getCollectionLevelIssuses()
A list of all issues associated with the collection.
- Returns:
- value or
null
for none
-
setCollectionLevelIssuses
public CollectionStatus setCollectionLevelIssuses(List<CollectionStatusItemLevelIssue> collectionLevelIssuses)
A list of all issues associated with the collection.
- Parameters:
collectionLevelIssuses
- collectionLevelIssuses or null
for none
-
getCreationDate
public String getCreationDate()
Date on which the collection has been created in [ISO
8601](http://en.wikipedia.org/wiki/ISO_8601) format: Date, time, and offset, e.g.
"2020-01-02T09:00:00+01:00" or "2020-01-02T09:00:00Z"
- Returns:
- value or
null
for none
-
setCreationDate
public CollectionStatus setCreationDate(String creationDate)
Date on which the collection has been created in [ISO
8601](http://en.wikipedia.org/wiki/ISO_8601) format: Date, time, and offset, e.g.
"2020-01-02T09:00:00+01:00" or "2020-01-02T09:00:00Z"
- Parameters:
creationDate
- creationDate or null
for none
-
getDestinationStatuses
public List<CollectionStatusDestinationStatus> getDestinationStatuses()
The intended destinations for the collection.
- Returns:
- value or
null
for none
-
setDestinationStatuses
public CollectionStatus setDestinationStatuses(List<CollectionStatusDestinationStatus> destinationStatuses)
The intended destinations for the collection.
- Parameters:
destinationStatuses
- destinationStatuses or null
for none
-
getId
public String getId()
Required. The ID of the collection for which status is reported.
- Returns:
- value or
null
for none
-
setId
public CollectionStatus setId(String id)
Required. The ID of the collection for which status is reported.
- Parameters:
id
- id or null
for none
-
getLastUpdateDate
public String getLastUpdateDate()
Date on which the collection has been last updated in [ISO
8601](http://en.wikipedia.org/wiki/ISO_8601) format: Date, time, and offset, e.g.
"2020-01-02T09:00:00+01:00" or "2020-01-02T09:00:00Z"
- Returns:
- value or
null
for none
-
setLastUpdateDate
public CollectionStatus setLastUpdateDate(String lastUpdateDate)
Date on which the collection has been last updated in [ISO
8601](http://en.wikipedia.org/wiki/ISO_8601) format: Date, time, and offset, e.g.
"2020-01-02T09:00:00+01:00" or "2020-01-02T09:00:00Z"
- Parameters:
lastUpdateDate
- lastUpdateDate or null
for none
-
set
public CollectionStatus set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public CollectionStatus clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy