@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class SourceContentInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
SourceContentInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CONTENT_ID |
static String |
SERIALIZED_NAME_LINK |
static String |
SERIALIZED_NAME_PERMISSION_STATUS |
static String |
SERIALIZED_NAME_SOURCE_AUTHOR |
static String |
SERIALIZED_NAME_SOURCE_LINK |
static String |
SERIALIZED_NAME_SOURCE_MEDIA_INFOS |
static String |
SERIALIZED_NAME_SOURCE_OFFERS |
static String |
SERIALIZED_NAME_SOURCE_PUBLISH_DATE |
static String |
SERIALIZED_NAME_SOURCE_STATUS |
static String |
SERIALIZED_NAME_SOURCE_SUMMARY |
static String |
SERIALIZED_NAME_SOURCE_TITLE |
static String |
SERIALIZED_NAME_SOURCE_TYPE |
static String |
SERIALIZED_NAME_SPECIAL_TAGS |
| 构造器和说明 |
|---|
SourceContentInfo() |
public static final String SERIALIZED_NAME_PERMISSION_STATUS
public static final String SERIALIZED_NAME_SOURCE_MEDIA_INFOS
public static final String SERIALIZED_NAME_SOURCE_PUBLISH_DATE
public static final String SERIALIZED_NAME_SOURCE_SUMMARY
public SourceContentInfo contentId(String contentId)
public void setContentId(String contentId)
public SourceContentInfo link(String link)
public void setLink(String link)
public SourceContentInfo permissionStatus(String permissionStatus)
@Nullable public String getPermissionStatus()
public void setPermissionStatus(String permissionStatus)
public SourceContentInfo sourceAuthor(String sourceAuthor)
public void setSourceAuthor(String sourceAuthor)
public SourceContentInfo sourceLink(String sourceLink)
public void setSourceLink(String sourceLink)
public SourceContentInfo sourceMediaInfos(List<SourceMediaInfo> sourceMediaInfos)
public SourceContentInfo addSourceMediaInfosItem(SourceMediaInfo sourceMediaInfosItem)
@Nullable public List<SourceMediaInfo> getSourceMediaInfos()
public void setSourceMediaInfos(List<SourceMediaInfo> sourceMediaInfos)
public SourceContentInfo sourceOffers(List<SourceOffer> sourceOffers)
public SourceContentInfo addSourceOffersItem(SourceOffer sourceOffersItem)
@Nullable public List<SourceOffer> getSourceOffers()
public void setSourceOffers(List<SourceOffer> sourceOffers)
public SourceContentInfo sourcePublishDate(String sourcePublishDate)
public void setSourcePublishDate(String sourcePublishDate)
public SourceContentInfo sourceStatus(String sourceStatus)
@Nullable public String getSourceStatus()
public void setSourceStatus(String sourceStatus)
public SourceContentInfo sourceSummary(String sourceSummary)
public void setSourceSummary(String sourceSummary)
public SourceContentInfo sourceTitle(String sourceTitle)
public void setSourceTitle(String sourceTitle)
public SourceContentInfo sourceType(String sourceType)
public void setSourceType(String sourceType)
public SourceContentInfo specialTags(List<String> specialTags)
public SourceContentInfo addSpecialTagsItem(String specialTagsItem)
@Nullable public List<String> getSpecialTags()
public SourceContentInfo putAdditionalProperty(String key, Object value)
key - name of the propertyvalue - value of the propertypublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - name of the propertypublic static void validateJsonObject(com.google.gson.JsonObject jsonObj)
throws IOException
jsonObj - JSON ObjectIOException - if the JSON Object is invalid with respect to SourceContentInfopublic static SourceContentInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to SourceContentInfopublic String toJson()
Copyright © 2024. All rights reserved.