Added arn to the main repository

This commit is contained in:
2019-06-03 18:32:43 +09:00
parent cf258573a8
commit 29a48d94a5
465 changed files with 15968 additions and 288 deletions

16
arn/HasDraft.go Normal file
View File

@ -0,0 +1,16 @@
package arn
// HasDraft includes a boolean indicating whether the object is a draft.
type hasDraft struct {
IsDraft bool `json:"isDraft" editable:"true"`
}
// GetIsDraft tells you whether the object is a draft or not.
func (obj *hasDraft) GetIsDraft() bool {
return obj.IsDraft
}
// SetIsDraft sets the draft state for this object.
func (obj *hasDraft) SetIsDraft(isDraft bool) {
obj.IsDraft = isDraft
}