-
Notifications
You must be signed in to change notification settings - Fork 2
/
searchattributevaluesrequest.go
70 lines (61 loc) · 1.84 KB
/
searchattributevaluesrequest.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
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
package shared
// SearchAttributeValuesRequest - Search Attributes by a few properties.
type SearchAttributeValuesRequest struct {
// The attribute type ids for what type of attributes to search for.
AttributeTypeIds []string `json:"attributeTypeIds,omitempty"`
// Exclude attributes with these ids from the search results.
ExcludeIds []string `json:"excludeIds,omitempty"`
// Include attributes with these ids in the search results.
Ids []string `json:"ids,omitempty"`
// The pageSize where 0 <= pageSize <= 100. Values < 10 will be set to 10. A value of 0 returns the default page size (currently 25)
PageSize *int `json:"pageSize,omitempty"`
// The pageToken field.
PageToken *string `json:"pageToken,omitempty"`
// Query the attributes with a fuzzy search on display name and description.
Query *string `json:"query,omitempty"`
// Search for attributes with a case insensitive match on the attribute value which is the attribute name.
Value *string `json:"value,omitempty"`
}
func (o *SearchAttributeValuesRequest) GetAttributeTypeIds() []string {
if o == nil {
return nil
}
return o.AttributeTypeIds
}
func (o *SearchAttributeValuesRequest) GetExcludeIds() []string {
if o == nil {
return nil
}
return o.ExcludeIds
}
func (o *SearchAttributeValuesRequest) GetIds() []string {
if o == nil {
return nil
}
return o.Ids
}
func (o *SearchAttributeValuesRequest) GetPageSize() *int {
if o == nil {
return nil
}
return o.PageSize
}
func (o *SearchAttributeValuesRequest) GetPageToken() *string {
if o == nil {
return nil
}
return o.PageToken
}
func (o *SearchAttributeValuesRequest) GetQuery() *string {
if o == nil {
return nil
}
return o.Query
}
func (o *SearchAttributeValuesRequest) GetValue() *string {
if o == nil {
return nil
}
return o.Value
}