1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*
* Hanzo Cloud API
*
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator's admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
*
* The version of the OpenAPI document: v1
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct SeoBacklinkOut {
/// Backlinks is how many links point at it.
#[serde(rename = "backlinks", skip_serializing_if = "Option::is_none")]
pub backlinks: Option<i32>,
/// Broken is how many of those links point at something that no longer answers.
#[serde(rename = "broken", skip_serializing_if = "Option::is_none")]
pub broken: Option<i32>,
/// Cost is what this call cost, in USD, as an exact decimal string.
#[serde(rename = "cost", skip_serializing_if = "Option::is_none")]
pub cost: Option<String>,
/// Domains is how many distinct sites those links come from — the number that matters, since a thousand links from one site is one site.
#[serde(rename = "domains", skip_serializing_if = "Option::is_none")]
pub domains: Option<i32>,
/// FirstSeen is when the upstream first saw a link to this target, RFC 3339.
#[serde(rename = "firstSeen", skip_serializing_if = "Option::is_none")]
pub first_seen: Option<String>,
/// Pages is how many distinct pages link in.
#[serde(rename = "pages", skip_serializing_if = "Option::is_none")]
pub pages: Option<i32>,
/// Rank is the upstream's authority score for the target, 0 to 1000.
#[serde(rename = "rank", skip_serializing_if = "Option::is_none")]
pub rank: Option<i32>,
/// Spam is the share of the profile judged spam, 0 to 100.
#[serde(rename = "spam", skip_serializing_if = "Option::is_none")]
pub spam: Option<i32>,
/// Target is the target as the upstream resolved it.
#[serde(rename = "target", skip_serializing_if = "Option::is_none")]
pub target: Option<String>,
}
impl SeoBacklinkOut {
pub fn new() -> SeoBacklinkOut {
SeoBacklinkOut {
backlinks: None,
broken: None,
cost: None,
domains: None,
first_seen: None,
pages: None,
rank: None,
spam: None,
target: None,
}
}
}