/
model_applications_application.go
40 lines (39 loc) · 1.76 KB
/
model_applications_application.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
/*
* Bungie.Net API
*
* These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality.
*
* API version: 2.18.0
* Contact: support@bungie.com
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package D2Client
import (
"time"
)
type ApplicationsApplication struct {
// Unique ID assigned to the application
ApplicationId int32 `json:"applicationId,omitempty"`
// Name of the application
Name string `json:"name,omitempty"`
// URL used to pass the user's authorization code to the application
RedirectUrl string `json:"redirectUrl,omitempty"`
// Link to website for the application where a user can learn more about the app.
Link string `json:"link,omitempty"`
// Permissions the application needs to work
Scope int64 `json:"scope,omitempty"`
// Value of the Origin header sent in requests generated by this application.
Origin string `json:"origin,omitempty"`
// Current status of the application.
Status int32 `json:"status,omitempty"`
// Date the application was first added to our database.
CreationDate time.Time `json:"creationDate,omitempty"`
// Date the application status last changed.
StatusChanged time.Time `json:"statusChanged,omitempty"`
// Date the first time the application status entered the 'Public' status.
FirstPublished time.Time `json:"firstPublished,omitempty"`
// List of team members who manage this application on Bungie.net. Will always consist of at least the application owner.
Team []ApplicationsApplicationDeveloper `json:"team,omitempty"`
// An optional override for the Authorize view name.
OverrideAuthorizeViewName string `json:"overrideAuthorizeViewName,omitempty"`
}