// Code generated by protoc-gen-go. DO NOT EDIT.
// source: chat_ban/create.proto

package chat_ban

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

// ChatBanCreate triggers when a user is banned from a channel's chat.
type ChatBanCreate struct {
	// The user in whose channel the ban took place
	BroadcasterUserId string `protobuf:"bytes,1,opt,name=broadcaster_user_id,json=broadcasterUserId,proto3" json:"broadcaster_user_id,omitempty"`
	// The id for the user which is banned from the chat
	BannedUserId string `protobuf:"bytes,2,opt,name=banned_user_id,json=bannedUserId,proto3" json:"banned_user_id,omitempty"`
	// The id for the user which has performed the banning action
	RequesterUserId string `protobuf:"bytes,3,opt,name=requester_user_id,json=requesterUserId,proto3" json:"requester_user_id,omitempty"`
	// The reason provided for the chat ban - limited to 500 characters
	Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"`
	// The time at which the chat ban event took place
	BannedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=banned_at,json=bannedAt,proto3" json:"banned_at,omitempty"`
	// The time at which the chat ban expires
	ExpiresAt            *timestamp.Timestamp `protobuf:"bytes,6,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

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

var xxx_messageInfo_ChatBanCreate proto.InternalMessageInfo

func (m *ChatBanCreate) GetBroadcasterUserId() string {
	if m != nil {
		return m.BroadcasterUserId
	}
	return ""
}

func (m *ChatBanCreate) GetBannedUserId() string {
	if m != nil {
		return m.BannedUserId
	}
	return ""
}

func (m *ChatBanCreate) GetRequesterUserId() string {
	if m != nil {
		return m.RequesterUserId
	}
	return ""
}

func (m *ChatBanCreate) GetReason() string {
	if m != nil {
		return m.Reason
	}
	return ""
}

func (m *ChatBanCreate) GetBannedAt() *timestamp.Timestamp {
	if m != nil {
		return m.BannedAt
	}
	return nil
}

func (m *ChatBanCreate) GetExpiresAt() *timestamp.Timestamp {
	if m != nil {
		return m.ExpiresAt
	}
	return nil
}

func init() {
	proto.RegisterType((*ChatBanCreate)(nil), "chat_ban.ChatBanCreate")
}

func init() { proto.RegisterFile("chat_ban/create.proto", fileDescriptor_create_46419ac3678a8fdf) }

var fileDescriptor_create_46419ac3678a8fdf = []byte{
	// 245 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0xd0, 0xcf, 0x4a, 0xc3, 0x40,
	0x10, 0x06, 0x70, 0x52, 0x35, 0x34, 0xe3, 0x3f, 0x1a, 0x51, 0x42, 0x2f, 0x16, 0xf1, 0x50, 0x3c,
	0x6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