1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\Dns;
19
20class Operation extends \Google\Model
21{
22  protected $dnsKeyContextType = OperationDnsKeyContext::class;
23  protected $dnsKeyContextDataType = '';
24  /**
25   * @var string
26   */
27  public $id;
28  /**
29   * @var string
30   */
31  public $kind;
32  /**
33   * @var string
34   */
35  public $startTime;
36  /**
37   * @var string
38   */
39  public $status;
40  /**
41   * @var string
42   */
43  public $type;
44  /**
45   * @var string
46   */
47  public $user;
48  protected $zoneContextType = OperationManagedZoneContext::class;
49  protected $zoneContextDataType = '';
50
51  /**
52   * @param OperationDnsKeyContext
53   */
54  public function setDnsKeyContext(OperationDnsKeyContext $dnsKeyContext)
55  {
56    $this->dnsKeyContext = $dnsKeyContext;
57  }
58  /**
59   * @return OperationDnsKeyContext
60   */
61  public function getDnsKeyContext()
62  {
63    return $this->dnsKeyContext;
64  }
65  /**
66   * @param string
67   */
68  public function setId($id)
69  {
70    $this->id = $id;
71  }
72  /**
73   * @return string
74   */
75  public function getId()
76  {
77    return $this->id;
78  }
79  /**
80   * @param string
81   */
82  public function setKind($kind)
83  {
84    $this->kind = $kind;
85  }
86  /**
87   * @return string
88   */
89  public function getKind()
90  {
91    return $this->kind;
92  }
93  /**
94   * @param string
95   */
96  public function setStartTime($startTime)
97  {
98    $this->startTime = $startTime;
99  }
100  /**
101   * @return string
102   */
103  public function getStartTime()
104  {
105    return $this->startTime;
106  }
107  /**
108   * @param string
109   */
110  public function setStatus($status)
111  {
112    $this->status = $status;
113  }
114  /**
115   * @return string
116   */
117  public function getStatus()
118  {
119    return $this->status;
120  }
121  /**
122   * @param string
123   */
124  public function setType($type)
125  {
126    $this->type = $type;
127  }
128  /**
129   * @return string
130   */
131  public function getType()
132  {
133    return $this->type;
134  }
135  /**
136   * @param string
137   */
138  public function setUser($user)
139  {
140    $this->user = $user;
141  }
142  /**
143   * @return string
144   */
145  public function getUser()
146  {
147    return $this->user;
148  }
149  /**
150   * @param OperationManagedZoneContext
151   */
152  public function setZoneContext(OperationManagedZoneContext $zoneContext)
153  {
154    $this->zoneContext = $zoneContext;
155  }
156  /**
157   * @return OperationManagedZoneContext
158   */
159  public function getZoneContext()
160  {
161    return $this->zoneContext;
162  }
163}
164
165// Adding a class alias for backwards compatibility with the previous class name.
166class_alias(Operation::class, 'Google_Service_Dns_Operation');
167