content: /*
   * Copyright (C) 2015-present, Ant Financial Services Group
   *
   * 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.alipay.hulu.upgrade;
  
  import java.util.List;
  
  /**
   * Created by qiaoruikai on 2018/12/28 12:33 PM.
   */
  public class PatchResponse {
  
      /**
       * status : success
       * reason :
       * version : 13
       * data : [{"name":"hulu_screenRecord","url":"","version":1,"type":"normal"}]
       */
  
      private String status;
      private String reason;
      private int version;
      private List<DataBean> data;
  
      public String getStatus() {
          return status;
      }
  
      public void setStatus(String status) {
          this.status = status;
      }
  
      public String getReason() {
          return reason;
      }
  
      public void setReason(String reason) {
          this.reason = reason;
      }
  
      public int getVersion() {
          return version;
      }
  
      public void setVersion(int version) {
          this.version = version;
      }
  
      public List<DataBean> getData() {
          return data;
      }
  
      public void setData(List<DataBean> data) {
          this.data = data;
      }
  
      public static class DataBean {
          /**
           * name : hulu_screenRecord
           * url :
           * version : 1
           * type : normal
           */
  
          private String name;
          private String url;
          private float version;
          private String type;
  
          public String getName() {
              return name;
          }
  
          public void setName(String name) {
              this.name = name;
          }
  
          public String getUrl() {
              return url;
          }
  
          public void setUrl(String url) {
              this.url = url;
          }
  
          public float getVersion() {
              return version;
          }
  
          public void setVersion(float version) {
              this.version = version;
          }
  
          public String getType() {
              return type;
          }
  
          public void setType(String type) {
              this.type = type;
          }
  
          @Override
          public String toString() {
              return "DataBean{" +
                      "name='" + name + '\'' +
                      ", url='" + url + '\'' +
                      ", version=" + version +
                      ", type='" + type + '\'' +
                      '}';
          }
      }
  
      @Override
      public String toString() {
          return "PatchResponse{" +
                  "status='" + status + '\'' +
                  ", reason='" + reason + '\'' +
                  ", version=" + version +
                  ", data=" + data +
                  '}';
      }
  }
  