<?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.
 */

class Google_Service_Compute_NodeGroupNode extends Google_Collection
{
  protected $collection_key = 'instances';
  public $instances;
  public $name;
  public $nodeType;
  protected $serverBindingType = 'Google_Service_Compute_ServerBinding';
  protected $serverBindingDataType = '';
  public $serverId;
  public $status;

  public function setInstances($instances)
  {
    $this->instances = $instances;
  }
  public function getInstances()
  {
    return $this->instances;
  }
  public function setName($name)
  {
    $this->name = $name;
  }
  public function getName()
  {
    return $this->name;
  }
  public function setNodeType($nodeType)
  {
    $this->nodeType = $nodeType;
  }
  public function getNodeType()
  {
    return $this->nodeType;
  }
  /**
   * @param Google_Service_Compute_ServerBinding
   */
  public function setServerBinding(Google_Service_Compute_ServerBinding $serverBinding)
  {
    $this->serverBinding = $serverBinding;
  }
  /**
   * @return Google_Service_Compute_ServerBinding
   */
  public function getServerBinding()
  {
    return $this->serverBinding;
  }
  public function setServerId($serverId)
  {
    $this->serverId = $serverId;
  }
  public function getServerId()
  {
    return $this->serverId;
  }
  public function setStatus($status)
  {
    $this->status = $status;
  }
  public function getStatus()
  {
    return $this->status;
  }
}
