-
Notifications
You must be signed in to change notification settings - Fork 12
/
documentationresult.go
98 lines (56 loc) · 3.56 KB
/
documentationresult.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
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
package platformclientv2
import (
"time"
"encoding/json"
"strconv"
"strings"
)
// Documentationresult
type Documentationresult struct {
// Id - The globally unique identifier for the object.
Id *int `json:"id,omitempty"`
// Categories - The category of the documentation entity. Will be returned in responses for certain entities.
Categories *[]int `json:"categories,omitempty"`
// Description - The description of the documentation entity. Will be returned in responses for certain entities.
Description *string `json:"description,omitempty"`
// Content - The text or html content for the documentation entity. Will be returned in responses for certain entities.
Content *string `json:"content,omitempty"`
// Excerpt - The excerpt of the documentation entity. Will be returned in responses for certain entities.
Excerpt *string `json:"excerpt,omitempty"`
// Link - URL link for the documentation entity. Will be returned in responses for certain entities.
Link *string `json:"link,omitempty"`
// Modified - The modified date for the documentation entity. Will be returned in responses for certain entities. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
Modified *time.Time `json:"modified,omitempty"`
// Name - The name of the documentation entity. Will be returned in responses for certain entities.
Name *string `json:"name,omitempty"`
// Service - The service of the documentation entity. Will be returned in responses for certain entities.
Service *[]int `json:"service,omitempty"`
// Slug - The slug of the documentation entity. Will be returned in responses for certain entities.
Slug *string `json:"slug,omitempty"`
// Title - The title of the documentation entity. Will be returned in responses for certain entities.
Title *string `json:"title,omitempty"`
// GetType - The search type. Will be returned in responses for certain entities.
GetType *string `json:"get_type,omitempty"`
// FacetFeature - The facet feature of the documentation entity. Will be returned in responses for certain entities.
FacetFeature *[]int `json:"facet_feature,omitempty"`
// FacetRole - The facet role of the documentation entity. Will be returned in responses for certain entities.
FacetRole *[]int `json:"facet_role,omitempty"`
// FacetService - The facet service of the documentation entity. Will be returned in responses for certain entities.
FacetService *[]int `json:"facet_service,omitempty"`
// FaqCategories - The faq categories of the documentation entity. Will be returned in responses for certain entities.
FaqCategories *[]int `json:"faq_categories,omitempty"`
// ReleasenoteCategory - The releasenote category of the documentation entity. Will be returned in responses for certain entities.
ReleasenoteCategory *[]int `json:"releasenote_category,omitempty"`
// ReleasenoteTag - The releasenote tag of the documentation entity. Will be returned in responses for certain entities.
ReleasenoteTag *[]int `json:"releasenote_tag,omitempty"`
// ServiceArea - The service area of the documentation entity. Will be returned in responses for certain entities.
ServiceArea *[]int `json:"service-area,omitempty"`
// VideoCategories - The video categories of the documentation entity. Will be returned in responses for certain entities.
VideoCategories *[]int `json:"video_categories,omitempty"`
}
// String returns a JSON representation of the model
func (o *Documentationresult) String() string {
j, _ := json.Marshal(o)
str, _ := strconv.Unquote(strings.Replace(strconv.Quote(string(j)), `\\u`, `\u`, -1))
return str
}