Skip to content

Commit

Permalink
feat: OpenAPI spec update via Stainless API
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot committed Mar 6, 2024
1 parent 5b918a1 commit b64df47
Showing 1 changed file with 16 additions and 21 deletions.
37 changes: 16 additions & 21 deletions urlscannerscan.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,24 +229,22 @@ func (r *URLScannerScanGetResponseScanMeta) UnmarshalJSON(data []byte) (err erro
}

type URLScannerScanGetResponseScanMetaProcessors struct {
Categories URLScannerScanGetResponseScanMetaProcessorsCategories `json:"categories,required"`
GoogleSafeBrowsing []string `json:"google_safe_browsing,required"`
Phishing []string `json:"phishing,required"`
Rank URLScannerScanGetResponseScanMetaProcessorsRank `json:"rank,required"`
Tech []URLScannerScanGetResponseScanMetaProcessorsTech `json:"tech,required"`
JSON urlScannerScanGetResponseScanMetaProcessorsJSON `json:"-"`
Categories URLScannerScanGetResponseScanMetaProcessorsCategories `json:"categories,required"`
Phishing []string `json:"phishing,required"`
Rank URLScannerScanGetResponseScanMetaProcessorsRank `json:"rank,required"`
Tech []URLScannerScanGetResponseScanMetaProcessorsTech `json:"tech,required"`
JSON urlScannerScanGetResponseScanMetaProcessorsJSON `json:"-"`
}

// urlScannerScanGetResponseScanMetaProcessorsJSON contains the JSON metadata for
// the struct [URLScannerScanGetResponseScanMetaProcessors]
type urlScannerScanGetResponseScanMetaProcessorsJSON struct {
Categories apijson.Field
GoogleSafeBrowsing apijson.Field
Phishing apijson.Field
Rank apijson.Field
Tech apijson.Field
raw string
ExtraFields map[string]apijson.Field
Categories apijson.Field
Phishing apijson.Field
Rank apijson.Field
Tech apijson.Field
raw string
ExtraFields map[string]apijson.Field
}

func (r *URLScannerScanGetResponseScanMetaProcessors) UnmarshalJSON(data []byte) (err error) {
Expand Down Expand Up @@ -836,8 +834,6 @@ func (r *URLScannerScanGetResponseScanVerdicts) UnmarshalJSON(data []byte) (err

type URLScannerScanGetResponseScanVerdictsOverall struct {
Categories []URLScannerScanGetResponseScanVerdictsOverallCategory `json:"categories,required"`
// Please visit https://safebrowsing.google.com/ for more information.
GsbThreatTypes []string `json:"gsb_threat_types,required"`
// At least one of our subsystems marked the site as potentially malicious at the
// time of the scan.
Malicious bool `json:"malicious,required"`
Expand All @@ -848,12 +844,11 @@ type URLScannerScanGetResponseScanVerdictsOverall struct {
// urlScannerScanGetResponseScanVerdictsOverallJSON contains the JSON metadata for
// the struct [URLScannerScanGetResponseScanVerdictsOverall]
type urlScannerScanGetResponseScanVerdictsOverallJSON struct {
Categories apijson.Field
GsbThreatTypes apijson.Field
Malicious apijson.Field
Phishing apijson.Field
raw string
ExtraFields map[string]apijson.Field
Categories apijson.Field
Malicious apijson.Field
Phishing apijson.Field
raw string
ExtraFields map[string]apijson.Field
}

func (r *URLScannerScanGetResponseScanVerdictsOverall) UnmarshalJSON(data []byte) (err error) {
Expand Down

0 comments on commit b64df47

Please sign in to comment.