Skip to content

Commit f0ce882

Browse files
1 parent e746ed8 commit f0ce882

86 files changed

Lines changed: 10001 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/ThreatIntelligenceService.php

Lines changed: 428 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
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+
18+
namespace Google\Service\ThreatIntelligenceService;
19+
20+
class AffectedSoftware extends \Google\Model
21+
{
22+
/**
23+
* Optional. The product of the software.
24+
*
25+
* @var string
26+
*/
27+
public $product;
28+
/**
29+
* Optional. The vendor of the software.
30+
*
31+
* @var string
32+
*/
33+
public $vendor;
34+
35+
/**
36+
* Optional. The product of the software.
37+
*
38+
* @param string $product
39+
*/
40+
public function setProduct($product)
41+
{
42+
$this->product = $product;
43+
}
44+
/**
45+
* @return string
46+
*/
47+
public function getProduct()
48+
{
49+
return $this->product;
50+
}
51+
/**
52+
* Optional. The vendor of the software.
53+
*
54+
* @param string $vendor
55+
*/
56+
public function setVendor($vendor)
57+
{
58+
$this->vendor = $vendor;
59+
}
60+
/**
61+
* @return string
62+
*/
63+
public function getVendor()
64+
{
65+
return $this->vendor;
66+
}
67+
}
68+
69+
// Adding a class alias for backwards compatibility with the previous class name.
70+
class_alias(AffectedSoftware::class, 'Google_Service_ThreatIntelligenceService_AffectedSoftware');

0 commit comments

Comments
 (0)