// Code generated by protoc-gen-go. DO NOT EDIT.
// source: entitlement_badge/delete.proto

package entitlement_badge

import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import timestamp "github.com/golang/protobuf/ptypes/timestamp"

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package

// EntitlementBadgeDelete triggers when a user's badge entitlement is expired or otherwise removed.
type EntitlementBadgeDelete struct {
	// Entitlement ID
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Twitch User ID of the user who owns this entitlement.
	OwnerUserId string `protobuf:"bytes,2,opt,name=owner_user_id,json=ownerUserId,proto3" json:"owner_user_id,omitempty"`
	// The feature the entitlement came from.
	Source Source `protobuf:"varint,3,opt,name=source,proto3,enum=entitlement_badge.Source" json:"source,omitempty"`
	// ID for the badge the user is entitled for.
	ItemId string `protobuf:"bytes,4,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
	// Twitch User ID of the broadcaster who created and owns this badge.
	BadgeOwnerUserId string `protobuf:"bytes,5,opt,name=badge_owner_user_id,json=badgeOwnerUserId,proto3" json:"badge_owner_user_id,omitempty"`
	// Identifier for the origin object that caused this entitlement.
	// It is a reference to the broader context mostly used for deletion/modifications of entitlements that came from the same context.
	OriginId string `protobuf:"bytes,6,opt,name=origin_id,json=originId,proto3" json:"origin_id,omitempty"`
	// When the entitlement starts.
	StartsAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=starts_at,json=startsAt,proto3" json:"starts_at,omitempty"`
	// When the entitlement expires.
	EndsAt *timestamp.Timestamp `protobuf:"bytes,8,opt,name=ends_at,json=endsAt,proto3" json:"ends_at,omitempty"`
	// Entitlement type is an additional logical grouping of badges.
	Type                 string   `protobuf:"bytes,9,opt,name=type,proto3" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *EntitlementBadgeDelete) Reset()         { *m = EntitlementBadgeDelete{} }
func (m *EntitlementBadgeDelete) String() string { return proto.CompactTextString(m) }
func (*EntitlementBadgeDelete) ProtoMessage()    {}
func (*EntitlementBadgeDelete) Descriptor() ([]byte, []int) {
	return fileDescriptor_delete_da45a90a21bcbe88, []int{0}
}
func (m *EntitlementBadgeDelete) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_EntitlementBadgeDelete.Unmarshal(m, b)
}
func (m *EntitlementBadgeDelete) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_EntitlementBadgeDelete.Marshal(b, m, deterministic)
}
func (dst *EntitlementBadgeDelete) XXX_Merge(src proto.Message) {
	xxx_messageInfo_EntitlementBadgeDelete.Merge(dst, src)
}
func (m *EntitlementBadgeDelete) XXX_Size() int {
	return xxx_messageInfo_EntitlementBadgeDelete.Size(m)
}
func (m *EntitlementBadgeDelete) XXX_DiscardUnknown() {
	xxx_messageInfo_EntitlementBadgeDelete.DiscardUnknown(m)
}

var xxx_messageInfo_EntitlementBadgeDelete proto.InternalMessageInfo

func (m *EntitlementBadgeDelete) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

func (m *EntitlementBadgeDelete) GetOwnerUserId() string {
	if m != nil {
		return m.OwnerUserId
	}
	return ""
}

func (m *EntitlementBadgeDelete) GetSource() Source {
	if m != nil {
		return m.Source
	}
	return Source_SOURCE_INVALID
}

func (m *EntitlementBadgeDelete) GetItemId() string {
	if m != nil {
		return m.ItemId
	}
	return ""
}

func (m *EntitlementBadgeDelete) GetBadgeOwnerUserId() string {
	if m != nil {
		return m.BadgeOwnerUserId
	}
	return ""
}

func (m *EntitlementBadgeDelete) GetOriginId() string {
	if m != nil {
		return m.OriginId
	}
	return ""
}

func (m *EntitlementBadgeDelete) GetStartsAt() *timestamp.Timestamp {
	if m != nil {
		return m.StartsAt
	}
	return nil
}

func (m *EntitlementBadgeDelete) GetEndsAt() *timestamp.Timestamp {
	if m != nil {
		return m.EndsAt
	}
	return nil
}

func (m *EntitlementBadgeDelete) GetType() string {
	if m != nil {
		return m.Type
	}
	return ""
}

func init() {
	proto.RegisterType((*EntitlementBadgeDelete)(nil), "entitlement_badge.EntitlementBadgeDelete")
}

func init() {
	proto.RegisterFile("entitlement_badge/delete.proto", fileDescriptor_delete_da45a90a21bcbe88)
}

var fileDescriptor_delete_da45a90a21bcbe88 = []byte{
	// 303 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0x41, 0x4b, 0xc3, 0x40,
	0x10, 0x85, 0x49, 0xac, 0x69, 0xb3, 0xc5, 0xa2, 0x5b, 0xd0, 0x58, 0x41, 0x4b, 0x4f, 0xbd, 0xb8,
	0xc5, 0xf6, 0xe0, 0xb9, 0x45, 0x0f, 0x39, 0x09, 0x51, 0x2f, 0x5e, 0x42, 0xd2, 0x1d, 0xc3, 0x42,
	0x92, 0x0d, 0xbb, 0x13, 0xc4, 0x3f, 0xec, 0xef, 0x90, 0x4c, 0x0c, 0x2a, 0x11, 0xbc, 0xed, 0xcc,
	0x7c, 0xef, 0xcd, 0xf0, 0x96, 0x5d, 0x42, 0x89, 0x0a, 0x73, 0x28, 0xa0, 0xc4, 0x38, 0x4d, 0x64,
	0x06, 0x2b, 0x09, 0x39, 0x20, 0x88, 0xca, 0x68, 0xd4, 0xfc, 0xa4, 0x37, 0x9f, 0xfd, 0x21, 0xd9,
	0x1b, 0x48, 0x3a, 0xc9, 0xec, 0x2a, 0xd3, 0x3a, 0xcb, 0x61, 0x45, 0x55, 0x5a, 0xbf, 0xae, 0x50,
	0x15, 0x60, 0x31, 0x29, 0xaa, 0x16, 0x58, 0x7c, 0xb8, 0xec, 0xf4, 0xfe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