-
Notifications
You must be signed in to change notification settings - Fork 271
/
struct_option_json.go
55 lines (53 loc) · 4.37 KB
/
struct_option_json.go
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
package cms
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
//http://www.apache.org/licenses/LICENSE-2.0
//
//Unless required by applicable law or agreed to in writing, software
//distributed under the License is distributed on an "AS IS" BASIS,
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//See the License for the specific language governing permissions and
//limitations under the License.
//
// Code generated by Alibaba Cloud SDK Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
// OptionJson is a nested struct in cms response
type OptionJson struct {
RequestFormat string `json:"request_format" xml:"request_format"`
ResponseContent string `json:"response_content" xml:"response_content"`
Port int `json:"port" xml:"port"`
ProxyProtocol bool `json:"proxy_protocol" xml:"proxy_protocol"`
Authentication int `json:"authentication" xml:"authentication"`
MatchRule int `json:"match_rule" xml:"match_rule"`
DnsMatchRule string `json:"dns_match_rule" xml:"dns_match_rule"`
Ipv6Task string `json:"ipv6_task" xml:"ipv6_task"`
RequestContent string `json:"request_content" xml:"request_content"`
AcceptableResponseCode string `json:"acceptable_response_code" xml:"acceptable_response_code"`
Username string `json:"username" xml:"username"`
Traceroute int64 `json:"traceroute" xml:"traceroute"`
DnsType string `json:"dns_type" xml:"dns_type"`
ResponseFormat string `json:"response_format" xml:"response_format"`
Password string `json:"password" xml:"password"`
ExpectValue string `json:"expect_value" xml:"expect_value"`
TimeOut int64 `json:"time_out" xml:"time_out"`
FailureRate float64 `json:"failure_rate" xml:"failure_rate"`
Header string `json:"header" xml:"header"`
Cookie string `json:"cookie" xml:"cookie"`
PingNum int `json:"ping_num" xml:"ping_num"`
HttpMethod string `json:"http_method" xml:"http_method"`
UnfollowRedirect bool `json:"unfollow_redirect" xml:"unfollow_redirect"`
CertVerify bool `json:"cert_verify" xml:"cert_verify"`
DnsServer string `json:"dns_server" xml:"dns_server"`
EnableOperatorDns bool `json:"enable_operator_dns" xml:"enable_operator_dns"`
Attempts int64 `json:"attempts" xml:"attempts"`
Protocol string `json:"protocol" xml:"protocol"`
IsBase64Encode string `json:"isBase64Encode" xml:"isBase64Encode"`
DiagnosisMtr bool `json:"diagnosis_mtr" xml:"diagnosis_mtr"`
DiagnosisPing bool `json:"diagnosis_ping" xml:"diagnosis_ping"`
RetryDelay int `json:"retry_delay" xml:"retry_delay"`
SaveResponseBody bool `json:"save_response_body" xml:"save_response_body"`
MinTlsVersion string `json:"min_tls_version" xml:"min_tls_version"`
Assertions AssertionsInDescribeSiteMonitorAttribute `json:"assertions" xml:"assertions"`
}