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

com.volcengine.model.tls.response.DescribeProjectResponse Maven / Gradle / Ivy

There is a newer version: 1.0.192
Show newest version
package com.volcengine.model.tls.response;

import com.alibaba.fastjson.JSONObject;
import com.volcengine.model.tls.ProjectInfo;
import com.volcengine.model.tls.exception.LogException;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.apache.http.Header;

@Data
@ToString(callSuper = true)
@NoArgsConstructor
public class DescribeProjectResponse extends CommonResponse {

    ProjectInfo projectInfo;

    public DescribeProjectResponse(Header[] headers) {
        super(headers);
    }

    @Override
    public DescribeProjectResponse deSerialize(byte[] data, Class clazz) throws LogException {
        ProjectInfo projectInfo = JSONObject.parseObject(data, ProjectInfo.class);
        this.setProjectInfo(projectInfo);
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy