/
model_create_audience_group_response.go
86 lines (70 loc) · 2.74 KB
/
model_create_audience_group_response.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
/**
* LINE Messaging API
* This document describes LINE Messaging API.
*
* The version of the OpenAPI document: 0.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
//go:generate python3 ../../generate-code.py
package manage_audience
// CreateAudienceGroupResponse
// Create audience for uploading user IDs (by JSON)
// https://developers.line.biz/en/reference/messaging-api/#create-upload-audience-group
type CreateAudienceGroupResponse struct {
/**
* The audience ID.
*/
AudienceGroupId int64 `json:"audienceGroupId"`
/**
* How the audience was created. `MESSAGING_API`: An audience created with Messaging API.
*/
CreateRoute CreateAudienceGroupResponseCREATE_ROUTE `json:"createRoute,omitempty"`
/**
* Get Type
*/
Type AudienceGroupType `json:"type,omitempty"`
/**
* The audience's name.
*/
Description string `json:"description,omitempty"`
/**
* When the audience was created (in UNIX time).
*/
Created int64 `json:"created"`
/**
* Audience's update permission. Audiences linked to the same channel will be READ_WRITE. `READ`: Can use only. `READ_WRITE`: Can use and update.
*/
Permission CreateAudienceGroupResponsePERMISSION `json:"permission,omitempty"`
/**
* Time of audience expiration. Only returned for specific audiences.
*/
ExpireTimestamp float32 `json:"expireTimestamp"`
/**
* The value indicating the type of account to be sent, as specified when creating the audience for uploading user IDs. One of: `true`: Accounts are specified with IFAs. `false` (default): Accounts are specified with user IDs.
*/
IsIfaAudience bool `json:"isIfaAudience"`
}
// CreateAudienceGroupResponseCREATE_ROUTE type
/* How the audience was created. `MESSAGING_API`: An audience created with Messaging API. */
type CreateAudienceGroupResponseCREATE_ROUTE string
// CreateAudienceGroupResponseCREATE_ROUTE constants
const (
CreateAudienceGroupResponseCREATE_ROUTE_MESSAGING_API CreateAudienceGroupResponseCREATE_ROUTE = "MESSAGING_API"
)
// CreateAudienceGroupResponsePERMISSION type
/* Audience's update permission. Audiences linked to the same channel will be READ_WRITE. `READ`: Can use only. `READ_WRITE`: Can use and update. */
type CreateAudienceGroupResponsePERMISSION string
// CreateAudienceGroupResponsePERMISSION constants
const (
CreateAudienceGroupResponsePERMISSION_READ CreateAudienceGroupResponsePERMISSION = "READ"
CreateAudienceGroupResponsePERMISSION_READ_WRITE CreateAudienceGroupResponsePERMISSION = "READ_WRITE"
)