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

com.tencentcloudapi.ame.v20190916.models.DescribeLyricRequest 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.ame.v20190916.models;

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

public class DescribeLyricRequest extends AbstractModel{

    /**
    * 歌曲ID
    */
    @SerializedName("ItemId")
    @Expose
    private String ItemId;

    /**
    * 歌词格式,可选项,可不填写,目前填写只能填LRC-LRC。该字段为预留的扩展字段。后续如果不填,会返回歌曲的所有格式的歌词。如果填写某个正确的格式,则只返回该格式的歌词。
    */
    @SerializedName("SubItemType")
    @Expose
    private String SubItemType;

    /**
     * Get 歌曲ID 
     * @return ItemId 歌曲ID
     */
    public String getItemId() {
        return this.ItemId;
    }

    /**
     * Set 歌曲ID
     * @param ItemId 歌曲ID
     */
    public void setItemId(String ItemId) {
        this.ItemId = ItemId;
    }

    /**
     * Get 歌词格式,可选项,可不填写,目前填写只能填LRC-LRC。该字段为预留的扩展字段。后续如果不填,会返回歌曲的所有格式的歌词。如果填写某个正确的格式,则只返回该格式的歌词。 
     * @return SubItemType 歌词格式,可选项,可不填写,目前填写只能填LRC-LRC。该字段为预留的扩展字段。后续如果不填,会返回歌曲的所有格式的歌词。如果填写某个正确的格式,则只返回该格式的歌词。
     */
    public String getSubItemType() {
        return this.SubItemType;
    }

    /**
     * Set 歌词格式,可选项,可不填写,目前填写只能填LRC-LRC。该字段为预留的扩展字段。后续如果不填,会返回歌曲的所有格式的歌词。如果填写某个正确的格式,则只返回该格式的歌词。
     * @param SubItemType 歌词格式,可选项,可不填写,目前填写只能填LRC-LRC。该字段为预留的扩展字段。后续如果不填,会返回歌曲的所有格式的歌词。如果填写某个正确的格式,则只返回该格式的歌词。
     */
    public void setSubItemType(String SubItemType) {
        this.SubItemType = SubItemType;
    }

    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamSimple(map, prefix + "ItemId", this.ItemId);
        this.setParamSimple(map, prefix + "SubItemType", this.SubItemType);

    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy