/
model_create_audience_group_request.go
46 lines (39 loc) · 1.35 KB
/
model_create_audience_group_request.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
/**
* 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
// CreateAudienceGroupRequest
// Create audience for uploading user IDs (by JSON)
// https://developers.line.biz/en/reference/messaging-api/#create-upload-audience-group
type CreateAudienceGroupRequest struct {
/**
* The audience's name. This is case-insensitive, meaning AUDIENCE and audience are considered identical. Max character limit: 120
*/
Description string `json:"description,omitempty"`
/**
* To specify recipients by IFAs: set true. To specify recipients by user IDs: set false or omit isIfaAudience property.
*/
IsIfaAudience bool `json:"isIfaAudience"`
/**
* The description to register for the job (in jobs[].description).
*/
UploadDescription string `json:"uploadDescription,omitempty"`
/**
* An array of user IDs or IFAs. Max number: 10,000
*/
Audiences []Audience `json:"audiences,omitempty"`
}