All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tencentcloudapi.vod.v20180717.models.SearchMediaRequest Maven / Gradle / Ivy

/*
 * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.tencentcloudapi.vod.v20180717.models;

import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class SearchMediaRequest extends AbstractModel{

    /**
    * 搜索文本,模糊匹配媒体文件名称或描述信息,匹配项越多,匹配度越高,排序越优先。长度限制:64个字符。
    */
    @SerializedName("Text")
    @Expose
    private String Text;

    /**
    * 标签集合,匹配集合中任意元素。
  • 单个标签长度限制:8个字符。
  • 数组长度限制:10。
  • */ @SerializedName("Tags") @Expose private String [] Tags; /** * 分类 ID 集合,匹配集合指定 ID 的分类及其所有子类。数组长度限制:10。 */ @SerializedName("ClassIds") @Expose private Long [] ClassIds; /** * 创建时间的开始时间。
  • 大于等于开始时间。
  • 格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
  • */ @SerializedName("StartTime") @Expose private String StartTime; /** * 创建时间的结束时间。
  • 小于结束时间。
  • 格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
  • */ @SerializedName("EndTime") @Expose private String EndTime; /** * 媒体文件来源,来源取值参见 [SourceType](https://cloud.tencent.com/document/product/266/31773#MediaSourceData)。 */ @SerializedName("SourceType") @Expose private String SourceType; /** * 推流 [直播码](https://cloud.tencent.com/document/product/267/5959)。 */ @SerializedName("StreamId") @Expose private String StreamId; /** * 直播录制文件的唯一标识。 */ @SerializedName("Vid") @Expose private String Vid; /** * 排序方式。
  • Sort.Field 可选值:CreateTime
  • 指定 Text 搜索时,将根据匹配度排序,该字段无效
  • */ @SerializedName("Sort") @Expose private SortBy Sort; /** *
    分页返回的起始偏移量,默认值:0。将返回第 Offset 到第 Offset+Limit-1 条。
  • 取值范围:Offset + Limit 不超过5000。(参见:接口返回结果数限制
  • */ @SerializedName("Offset") @Expose private Long Offset; /** *
    分页返回的记录条数,默认值:10。将返回第 Offset 到第 Offset+Limit-1 条。
  • 取值范围:Offset + Limit 不超过5000。(参见:接口返回结果数限制
  • */ @SerializedName("Limit") @Expose private Long Limit; /** * 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。 */ @SerializedName("SubAppId") @Expose private Long SubAppId; /** * Get 搜索文本,模糊匹配媒体文件名称或描述信息,匹配项越多,匹配度越高,排序越优先。长度限制:64个字符。 * @return Text 搜索文本,模糊匹配媒体文件名称或描述信息,匹配项越多,匹配度越高,排序越优先。长度限制:64个字符。 */ public String getText() { return this.Text; } /** * Set 搜索文本,模糊匹配媒体文件名称或描述信息,匹配项越多,匹配度越高,排序越优先。长度限制:64个字符。 * @param Text 搜索文本,模糊匹配媒体文件名称或描述信息,匹配项越多,匹配度越高,排序越优先。长度限制:64个字符。 */ public void setText(String Text) { this.Text = Text; } /** * Get 标签集合,匹配集合中任意元素。
  • 单个标签长度限制:8个字符。
  • 数组长度限制:10。
  • * @return Tags 标签集合,匹配集合中任意元素。
  • 单个标签长度限制:8个字符。
  • 数组长度限制:10。
  • */ public String [] getTags() { return this.Tags; } /** * Set 标签集合,匹配集合中任意元素。
  • 单个标签长度限制:8个字符。
  • 数组长度限制:10。
  • * @param Tags 标签集合,匹配集合中任意元素。
  • 单个标签长度限制:8个字符。
  • 数组长度限制:10。
  • */ public void setTags(String [] Tags) { this.Tags = Tags; } /** * Get 分类 ID 集合,匹配集合指定 ID 的分类及其所有子类。数组长度限制:10。 * @return ClassIds 分类 ID 集合,匹配集合指定 ID 的分类及其所有子类。数组长度限制:10。 */ public Long [] getClassIds() { return this.ClassIds; } /** * Set 分类 ID 集合,匹配集合指定 ID 的分类及其所有子类。数组长度限制:10。 * @param ClassIds 分类 ID 集合,匹配集合指定 ID 的分类及其所有子类。数组长度限制:10。 */ public void setClassIds(Long [] ClassIds) { this.ClassIds = ClassIds; } /** * Get 创建时间的开始时间。
  • 大于等于开始时间。
  • 格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
  • * @return StartTime 创建时间的开始时间。
  • 大于等于开始时间。
  • 格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
  • */ public String getStartTime() { return this.StartTime; } /** * Set 创建时间的开始时间。
  • 大于等于开始时间。
  • 格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
  • * @param StartTime 创建时间的开始时间。
  • 大于等于开始时间。
  • 格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
  • */ public void setStartTime(String StartTime) { this.StartTime = StartTime; } /** * Get 创建时间的结束时间。
  • 小于结束时间。
  • 格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
  • * @return EndTime 创建时间的结束时间。
  • 小于结束时间。
  • 格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
  • */ public String getEndTime() { return this.EndTime; } /** * Set 创建时间的结束时间。
  • 小于结束时间。
  • 格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
  • * @param EndTime 创建时间的结束时间。
  • 小于结束时间。
  • 格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
  • */ public void setEndTime(String EndTime) { this.EndTime = EndTime; } /** * Get 媒体文件来源,来源取值参见 [SourceType](https://cloud.tencent.com/document/product/266/31773#MediaSourceData)。 * @return SourceType 媒体文件来源,来源取值参见 [SourceType](https://cloud.tencent.com/document/product/266/31773#MediaSourceData)。 */ public String getSourceType() { return this.SourceType; } /** * Set 媒体文件来源,来源取值参见 [SourceType](https://cloud.tencent.com/document/product/266/31773#MediaSourceData)。 * @param SourceType 媒体文件来源,来源取值参见 [SourceType](https://cloud.tencent.com/document/product/266/31773#MediaSourceData)。 */ public void setSourceType(String SourceType) { this.SourceType = SourceType; } /** * Get 推流 [直播码](https://cloud.tencent.com/document/product/267/5959)。 * @return StreamId 推流 [直播码](https://cloud.tencent.com/document/product/267/5959)。 */ public String getStreamId() { return this.StreamId; } /** * Set 推流 [直播码](https://cloud.tencent.com/document/product/267/5959)。 * @param StreamId 推流 [直播码](https://cloud.tencent.com/document/product/267/5959)。 */ public void setStreamId(String StreamId) { this.StreamId = StreamId; } /** * Get 直播录制文件的唯一标识。 * @return Vid 直播录制文件的唯一标识。 */ public String getVid() { return this.Vid; } /** * Set 直播录制文件的唯一标识。 * @param Vid 直播录制文件的唯一标识。 */ public void setVid(String Vid) { this.Vid = Vid; } /** * Get 排序方式。
  • Sort.Field 可选值:CreateTime
  • 指定 Text 搜索时,将根据匹配度排序,该字段无效
  • * @return Sort 排序方式。
  • Sort.Field 可选值:CreateTime
  • 指定 Text 搜索时,将根据匹配度排序,该字段无效
  • */ public SortBy getSort() { return this.Sort; } /** * Set 排序方式。
  • Sort.Field 可选值:CreateTime
  • 指定 Text 搜索时,将根据匹配度排序,该字段无效
  • * @param Sort 排序方式。
  • Sort.Field 可选值:CreateTime
  • 指定 Text 搜索时,将根据匹配度排序,该字段无效
  • */ public void setSort(SortBy Sort) { this.Sort = Sort; } /** * Get
    分页返回的起始偏移量,默认值:0。将返回第 Offset 到第 Offset+Limit-1 条。
  • 取值范围:Offset + Limit 不超过5000。(参见:接口返回结果数限制
  • * @return Offset
    分页返回的起始偏移量,默认值:0。将返回第 Offset 到第 Offset+Limit-1 条。
  • 取值范围:Offset + Limit 不超过5000。(参见:接口返回结果数限制
  • */ public Long getOffset() { return this.Offset; } /** * Set
    分页返回的起始偏移量,默认值:0。将返回第 Offset 到第 Offset+Limit-1 条。
  • 取值范围:Offset + Limit 不超过5000。(参见:接口返回结果数限制
  • * @param Offset
    分页返回的起始偏移量,默认值:0。将返回第 Offset 到第 Offset+Limit-1 条。
  • 取值范围:Offset + Limit 不超过5000。(参见:接口返回结果数限制
  • */ public void setOffset(Long Offset) { this.Offset = Offset; } /** * Get
    分页返回的记录条数,默认值:10。将返回第 Offset 到第 Offset+Limit-1 条。
  • 取值范围:Offset + Limit 不超过5000。(参见:接口返回结果数限制
  • * @return Limit
    分页返回的记录条数,默认值:10。将返回第 Offset 到第 Offset+Limit-1 条。
  • 取值范围:Offset + Limit 不超过5000。(参见:接口返回结果数限制
  • */ public Long getLimit() { return this.Limit; } /** * Set
    分页返回的记录条数,默认值:10。将返回第 Offset 到第 Offset+Limit-1 条。
  • 取值范围:Offset + Limit 不超过5000。(参见:接口返回结果数限制
  • * @param Limit
    分页返回的记录条数,默认值:10。将返回第 Offset 到第 Offset+Limit-1 条。
  • 取值范围:Offset + Limit 不超过5000。(参见:接口返回结果数限制
  • */ public void setLimit(Long Limit) { this.Limit = Limit; } /** * Get 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。 * @return SubAppId 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。 */ public Long getSubAppId() { return this.SubAppId; } /** * Set 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。 * @param SubAppId 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。 */ public void setSubAppId(Long SubAppId) { this.SubAppId = SubAppId; } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "Text", this.Text); this.setParamArraySimple(map, prefix + "Tags.", this.Tags); this.setParamArraySimple(map, prefix + "ClassIds.", this.ClassIds); this.setParamSimple(map, prefix + "StartTime", this.StartTime); this.setParamSimple(map, prefix + "EndTime", this.EndTime); this.setParamSimple(map, prefix + "SourceType", this.SourceType); this.setParamSimple(map, prefix + "StreamId", this.StreamId); this.setParamSimple(map, prefix + "Vid", this.Vid); this.setParamObj(map, prefix + "Sort.", this.Sort); this.setParamSimple(map, prefix + "Offset", this.Offset); this.setParamSimple(map, prefix + "Limit", this.Limit); this.setParamSimple(map, prefix + "SubAppId", this.SubAppId); } }




    © 2015 - 2025 Weber Informatics LLC | Privacy Policy