File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,12 @@ class Occurrence extends \Google\Model
7575 * This represents a secret.
7676 */
7777 public const KIND_SECRET = 'SECRET ' ;
78+ /**
79+ * The time this advisory was published by the source.
80+ *
81+ * @var string
82+ */
83+ public $ advisoryPublishTime ;
7884 protected $ attestationType = AttestationOccurrence::class;
7985 protected $ attestationDataType = '' ;
8086 protected $ buildType = BuildOccurrence::class;
@@ -150,6 +156,22 @@ class Occurrence extends \Google\Model
150156 protected $ vulnerabilityType = VulnerabilityOccurrence::class;
151157 protected $ vulnerabilityDataType = '' ;
152158
159+ /**
160+ * The time this advisory was published by the source.
161+ *
162+ * @param string $advisoryPublishTime
163+ */
164+ public function setAdvisoryPublishTime ($ advisoryPublishTime )
165+ {
166+ $ this ->advisoryPublishTime = $ advisoryPublishTime ;
167+ }
168+ /**
169+ * @return string
170+ */
171+ public function getAdvisoryPublishTime ()
172+ {
173+ return $ this ->advisoryPublishTime ;
174+ }
153175 /**
154176 * Describes an attestation of an artifact.
155177 *
You can’t perform that action at this time.
0 commit comments