content: // Licensed to the Apache Software Foundation (ASF) under one
  // or more contributor license agreements.  See the NOTICE file
  // distributed with this work for additional information
  // regarding copyright ownership.  The ASF licenses this file
  // to you 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 org.apache.cloudstack.api.response;
  
  import com.cloud.serializer.Param;
  import com.google.gson.annotations.SerializedName;
  import org.apache.cloudstack.api.ApiConstants;
  import org.apache.cloudstack.api.BaseResponse;
  import org.apache.cloudstack.api.EntityReference;
  import org.apache.cloudstack.backup.BackupRepository;
  
  import java.util.Date;
  
  @EntityReference(value = BackupRepository.class)
  public class BackupRepositoryResponse extends BaseResponse {
  
      @SerializedName(ApiConstants.ID)
      @Param(description = "the ID of the backup repository")
      private String id;
  
      @SerializedName(ApiConstants.ZONE_ID)
      @Param(description = "the Zone ID of the backup repository")
      private String zoneId;
  
      @SerializedName(ApiConstants.ZONE_NAME)
      @Param(description = "the Zone name of the backup repository")
      private String zoneName;
  
      @SerializedName(ApiConstants.NAME)
      @Param(description = "the name of the backup repository")
      private String name;
  
      @SerializedName(ApiConstants.ADDRESS)
      @Param(description = "the address / url of the backup repository")
      private String address;
  
      @SerializedName(ApiConstants.PROVIDER)
      @Param(description = "name of the provider")
      private String providerName;
  
      @SerializedName(ApiConstants.TYPE)
      @Param(description = "backup type")
      private String type;
  
      @SerializedName(ApiConstants.CAPACITY_BYTES)
      @Param(description = "capacity of the backup repository")
      private Long capacityBytes;
  
      @SerializedName(ApiConstants.CROSS_ZONE_INSTANCE_CREATION)
      @Param(description = "the backups in this repository can be used to create Instances on all Zones")
      private Boolean crossZoneInstanceCreation;
  
      @SerializedName("created")
      @Param(description = "the date and time the backup repository was added")
      private Date created;
  
      public BackupRepositoryResponse() {
      }
  
      public String getId() {
          return id;
      }
  
      public void setId(String id) {
          this.id = id;
      }
  
      public String getZoneId() {
          return zoneId;
      }
  
      public void setZoneId(String zoneId) {
          this.zoneId = zoneId;
      }
  
      public String getZoneName() {
          return zoneName;
      }
  
      public void setZoneName(String zoneName) {
          this.zoneName = zoneName;
      }
  
      public String getName() {
          return name;
      }
  
      public void setName(String name) {
          this.name = name;
      }
  
      public String getAddress() {
          return address;
      }
  
      public void setAddress(String address) {
          this.address = address;
      }
  
      public String getProviderName() {
          return providerName;
      }
  
      public void setProviderName(String providerName) {
          this.providerName = providerName;
      }
  
      public String getType() {
          return type;
      }
  
      public void setType(String type) {
          this.type = type;
      }
  
      public Long getCapacityBytes() {
          return capacityBytes;
      }
  
      public void setCapacityBytes(Long capacityBytes) {
          this.capacityBytes = capacityBytes;
      }
  
      public Boolean getCrossZoneInstanceCreation() {
          return crossZoneInstanceCreation;
      }
  
      public void setCrossZoneInstanceCreation(Boolean crossZoneInstanceCreation) {
          this.crossZoneInstanceCreation = crossZoneInstanceCreation;
      }
  
      public Date getCreated() {
          return created;
      }
  
      public void setCreated(Date created) {
          this.created = created;
      }
  }
  