<?php
/**
 * PHP CLient for Kubernetes API 
 *
 * Copyright 2014 binarygoo Inc. All rights reserved.
 *
 * @author Faruk brbovic <fbrbovic@devstub.com>
 * @link http://www.devstub.com/
 * @copyright 2014 binarygoo / devstub.com
 * 
 * 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 DevStub\KubernetesAPIClient\Entity\v1beta1;


use DevStub\KubernetesAPIClient\Entity\BaseEntity;

class ContainerStateTerminated extends BaseEntity implements \JsonSerializable {

    protected $exitCode;

    protected $signal;

    protected $reason;

    protected $startedAt;

    protected $finishedAt;

    /**
     * @return int
     */
    public function getExitCode() {
        return $this->exitCode;
    }

    /**
     * @param int $exitCode
     *
     * @return $this
     */
    public function setExitCode($exitCode) {
        $this->exitCode = $exitCode;
        return $this;
    }

    /**
     * @return string
     */
    public function getFinishedAt() {
        return $this->finishedAt;
    }

    /**
     * @param string $finishedAt
     *
     * @return $this
     */
    public function setFinishedAt($finishedAt) {
        $this->finishedAt = $finishedAt;
        return $this;
    }

    /**
     * @return string
     */
    public function getReason() {
        return $this->reason;
    }

    /**
     * @param string $reason
     *
     * @return $this
     */
    public function setReason($reason) {
        $this->reason = $reason;
        return $this;
    }

    /**
     * @return int
     */
    public function getSignal() {
        return $this->signal;
    }

    /**
     * @param int $signal
     *
     * @return $this
     */
    public function setSignal($signal) {
        $this->signal = $signal;
        return $this;
    }

    /**
     * @return int
     */
    public function getStartedAt() {
        return $this->startedAt;
    }

    /**
     * @param int $startedAt
     *
     * @return $this
     */
    public function setStartedAt($startedAt) {
        $this->startedAt = $startedAt;
        return $this;
    }



} 
{'avg_line_length': 20.05426356589147, 'max_line_length': 80, 'alphanum_fraction': 0.592964824120603, 'licenses': ['Apache-2.0'], 'repository_name': 'devstub/kubernetes-api-php-client', 'path': 'src/KubernetesAPIClient/Entity/v1beta1/ContainerStateTerminated.php', 'size': 2587, 'lang': 'PHP'}