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 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191
|
package testing
// BandwidthLimitRulesListResult represents a raw result of a List call to BandwidthLimitRules.
const BandwidthLimitRulesListResult = `
{
"bandwidth_limit_rules": [
{
"max_kbps": 3000,
"direction": "egress",
"id": "30a57f4a-336b-4382-8275-d708babd2241",
"max_burst_kbps": 300
}
]
}
`
// BandwidthLimitRulesGetResult represents a raw result of a Get call to a specific BandwidthLimitRule.
const BandwidthLimitRulesGetResult = `
{
"bandwidth_limit_rule": {
"max_kbps": 3000,
"direction": "egress",
"id": "30a57f4a-336b-4382-8275-d708babd2241",
"max_burst_kbps": 300
}
}
`
// BandwidthLimitRulesCreateRequest represents a raw body of a Create BandwidthLimitRule call.
const BandwidthLimitRulesCreateRequest = `
{
"bandwidth_limit_rule": {
"max_kbps": 2000,
"max_burst_kbps": 200
}
}
`
// BandwidthLimitRulesCreateResult represents a raw result of a Create BandwidthLimitRule call.
const BandwidthLimitRulesCreateResult = `
{
"bandwidth_limit_rule": {
"max_kbps": 2000,
"id": "30a57f4a-336b-4382-8275-d708babd2241",
"max_burst_kbps": 200
}
}
`
// BandwidthLimitRulesUpdateRequest represents a raw body of a Update BandwidthLimitRule call.
const BandwidthLimitRulesUpdateRequest = `
{
"bandwidth_limit_rule": {
"max_kbps": 500,
"max_burst_kbps": 0
}
}
`
// BandwidthLimitRulesUpdateResult represents a raw result of a Update BandwidthLimitRule call.
const BandwidthLimitRulesUpdateResult = `
{
"bandwidth_limit_rule": {
"max_kbps": 500,
"id": "30a57f4a-336b-4382-8275-d708babd2241",
"max_burst_kbps": 0
}
}
`
// DSCPMarkingRulesListResult represents a raw result of a List call to DSCPMarkingRules.
const DSCPMarkingRulesListResult = `
{
"dscp_marking_rules": [
{
"id": "30a57f4a-336b-4382-8275-d708babd2241",
"dscp_mark": 20
}
]
}
`
// DSCPMarkingRuleGetResult represents a raw result of a Get DSCPMarkingRule call.
const DSCPMarkingRuleGetResult = `
{
"dscp_marking_rule": {
"id": "30a57f4a-336b-4382-8275-d708babd2241",
"dscp_mark": 26
}
}
`
// DSCPMarkingRuleCreateRequest represents a raw body of a Create DSCPMarkingRule call.
const DSCPMarkingRuleCreateRequest = `
{
"dscp_marking_rule": {
"dscp_mark": 20
}
}
`
// DSCPMarkingRuleCreateResult represents a raw result of a Update DSCPMarkingRule call.
const DSCPMarkingRuleCreateResult = `
{
"dscp_marking_rule": {
"id": "30a57f4a-336b-4382-8275-d708babd2241",
"dscp_mark": 20
}
}
`
// DSCPMarkingRuleUpdateRequest represents a raw body of a Update DSCPMarkingRule call.
const DSCPMarkingRuleUpdateRequest = `
{
"dscp_marking_rule": {
"dscp_mark": 26
}
}
`
// DSCPMarkingRuleUpdateResult represents a raw result of a Update DSCPMarkingRule call.
const DSCPMarkingRuleUpdateResult = `
{
"dscp_marking_rule": {
"id": "30a57f4a-336b-4382-8275-d708babd2241",
"dscp_mark": 26
}
}
`
// MinimumBandwidthRulesListResult represents a raw result of a List call to MinimumBandwidthRules.
const MinimumBandwidthRulesListResult = `
{
"minimum_bandwidth_rules": [
{
"min_kbps": 3000,
"direction": "egress",
"id": "30a57f4a-336b-4382-8275-d708babd2241"
}
]
}
`
// MinimumBandwidthRulesGetResult represents a raw result of a Get call to a specific MinimumBandwidthRule.
const MinimumBandwidthRulesGetResult = `
{
"minimum_bandwidth_rule": {
"min_kbps": 3000,
"direction": "egress",
"id": "30a57f4a-336b-4382-8275-d708babd2241"
}
}
`
// MinimumBandwidthRulesCreateRequest represents a raw body of a Create MinimumBandwidthRule call.
const MinimumBandwidthRulesCreateRequest = `
{
"minimum_bandwidth_rule": {
"min_kbps": 2000
}
}
`
// MinimumBandwidthRulesCreateResult represents a raw result of a Create MinimumBandwidthRule call.
const MinimumBandwidthRulesCreateResult = `
{
"minimum_bandwidth_rule": {
"min_kbps": 2000,
"id": "30a57f4a-336b-4382-8275-d708babd2241"
}
}
`
// MinimumBandwidthRulesUpdateRequest represents a raw body of a Update MinimumBandwidthRule call.
const MinimumBandwidthRulesUpdateRequest = `
{
"minimum_bandwidth_rule": {
"min_kbps": 500
}
}
`
// MinimumBandwidthRulesUpdateResult represents a raw result of a Update MinimumBandwidthRule call.
const MinimumBandwidthRulesUpdateResult = `
{
"minimum_bandwidth_rule": {
"min_kbps": 500,
"id": "30a57f4a-336b-4382-8275-d708babd2241"
}
}
`
|