<?php
/*
 * Copyright 2014 Google Inc.
 *
 * 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.
 */

namespace Google\Service\Aiplatform;

class GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution extends \Google\Collection
{
  protected $collection_key = 'buckets';
  /**
   * @var string
   */
  public $billableSum;
  protected $bucketsType = GoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket::class;
  protected $bucketsDataType = 'array';
  public $max;
  public $mean;
  public $median;
  public $min;
  public $p5;
  public $p95;
  /**
   * @var string
   */
  public $sum;

  /**
   * @param string
   */
  public function setBillableSum($billableSum)
  {
    $this->billableSum = $billableSum;
  }
  /**
   * @return string
   */
  public function getBillableSum()
  {
    return $this->billableSum;
  }
  /**
   * @param GoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket[]
   */
  public function setBuckets($buckets)
  {
    $this->buckets = $buckets;
  }
  /**
   * @return GoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket[]
   */
  public function getBuckets()
  {
    return $this->buckets;
  }
  public function setMax($max)
  {
    $this->max = $max;
  }
  public function getMax()
  {
    return $this->max;
  }
  public function setMean($mean)
  {
    $this->mean = $mean;
  }
  public function getMean()
  {
    return $this->mean;
  }
  public function setMedian($median)
  {
    $this->median = $median;
  }
  public function getMedian()
  {
    return $this->median;
  }
  public function setMin($min)
  {
    $this->min = $min;
  }
  public function getMin()
  {
    return $this->min;
  }
  public function setP5($p5)
  {
    $this->p5 = $p5;
  }
  public function getP5()
  {
    return $this->p5;
  }
  public function setP95($p95)
  {
    $this->p95 = $p95;
  }
  public function getP95()
  {
    return $this->p95;
  }
  /**
   * @param string
   */
  public function setSum($sum)
  {
    $this->sum = $sum;
  }
  /**
   * @return string
   */
  public function getSum()
  {
    return $this->sum;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution');
