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

package boost_order

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

// BoostOrderDelete triggers when a Boost Order is cancelled.
type BoostOrderDelete struct {
	// The unique identifier of the Boost Order
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The type of Boost Order (whether paid or earned)
	Type OrderType `protobuf:"varint,2,opt,name=type,proto3,enum=boost_order.OrderType" json:"type,omitempty"`
	// The state of the Boost Order
	State OrderState `protobuf:"varint,3,opt,name=state,proto3,enum=boost_order.OrderState" json:"state,omitempty"`
	// The current progress of the Boost Order being fulfilled
	GoalProgress int64 `protobuf:"varint,4,opt,name=goal_progress,json=goalProgress,proto3" json:"goal_progress,omitempty"`
	// The the total progress required for a Boost Order to be fulfilled
	GoalTarget int64 `protobuf:"varint,5,opt,name=goal_target,json=goalTarget,proto3" json:"goal_target,omitempty"`
	// Twitch User ID of who Boost Order was redeemed for
	BoostOwnerId string `protobuf:"bytes,6,opt,name=boost_owner_id,json=boostOwnerId,proto3" json:"boost_owner_id,omitempty"`
	// Twitch User ID Identifier of who made the Boost Order (only applicable for paid)
	PurchaserId string `protobuf:"bytes,7,opt,name=purchaser_id,json=purchaserId,proto3" json:"purchaser_id,omitempty"`
	// The total quantity of Boosts within the Boost Order
	Quantity int64 `protobuf:"varint,8,opt,name=quantity,proto3" json:"quantity,omitempty"`
	// The time at which the Boost Order was created
	OpenedAt *timestamp.Timestamp `protobuf:"bytes,9,opt,name=opened_at,json=openedAt,proto3" json:"opened_at,omitempty"`
	// The time at which the Boost Order was fulfilled
	FulfilledAt          *timestamp.Timestamp `protobuf:"bytes,10,opt,name=fulfilled_at,json=fulfilledAt,proto3" json:"fulfilled_at,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

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

var xxx_messageInfo_BoostOrderDelete proto.InternalMessageInfo

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

func (m *BoostOrderDelete) GetType() OrderType {
	if m != nil {
		return m.Type
	}
	return OrderType_ORDER_TYPE_INVALID
}

func (m *BoostOrderDelete) GetState() OrderState {
	if m != nil {
		return m.State
	}
	return OrderState_ORDER_STATE_INVALID
}

func (m *BoostOrderDelete) GetGoalProgress() int64 {
	if m != nil {
		return m.GoalProgress
	}
	return 0
}

func (m *BoostOrderDelete) GetGoalTarget() int64 {
	if m != nil {
		return m.GoalTarget
	}
	return 0
}

func (m *BoostOrderDelete) GetBoostOwnerId() string {
	if m != nil {
		return m.BoostOwnerId
	}
	return ""
}

func (m *BoostOrderDelete) GetPurchaserId() string {
	if m != nil {
		return m.PurchaserId
	}
	return ""
}

func (m *BoostOrderDelete) GetQuantity() int64 {
	if m != nil {
		return m.Quantity
	}
	return 0
}

func (m *BoostOrderDelete) GetOpenedAt() *timestamp.Timestamp {
	if m != nil {
		return m.OpenedAt
	}
	return nil
}

func (m *BoostOrderDelete) GetFulfilledAt() *timestamp.Timestamp {
	if m != nil {
		return m.FulfilledAt
	}
	return nil
}

func init() {
	proto.RegisterType((*BoostOrderDelete)(nil), "boost_order.BoostOrderDelete")
}

func init() { proto.RegisterFile("boost_order/delete.proto", fileDescriptor_delete_df39d0c5c3b0bafe) }

var fileDescriptor_delete_df39d0c5c3b0bafe = []byte{
	// 332 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0x3d, 0x6f, 0xf2, 0x30,
	0x10, 0xc7, 0x15, 0xde, 0x1e, 0xb8, 0x04, 0xf4, 0xc8, 0x43, 0x6b, 0x65, 0x21, 0x7d, 0x19, 0xa2,
	0x4a, 0x0d, 0x12, 0x1d, 0x3a, 0x75, 0x00, 0x75, 0x61, 0xa2, 0x4a, 0x99, 0xba, 0x44, 0x06, 0x1f,
	0x69, 0xa4, 0x80, 0x5d, 0xe7, 0xa2, 0x8a, 0x6f, 0xd3, 0x8f, 0x5a, 0xc5, 0x01, 0x94, 0xaa, 0x43,
	0xc7, 0xfb, 0xdd, 0xef, 0xaf, 0xbf, 0x75, 0x06, 0xbe, 0x56, 0xaa, 0xa0, 0x44, 0x19, 0x89, 0x66,
	0x22, 0x31, 0x47, 0xc2, 0x48, 0x1b, 0x45, 0x8a, 0xb9, 0x8d, 0x8d, 0xff, 0x43, 0xdb, 0x18, 0x14,
	0x27, 0xcd, 0x1f, 0xa7, 0x4a, 0xa5, 0x39, 0x4e, 0xec, 0xb4, 0x2e, 0xb7, 0x13, 0xca, 0x76, 0x58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