git » swiftpm » main » tree

[main] / Sources / c_snikket / iinclude / snikket / Notification.h

// Generated by Haxe 4.3.3
#ifndef INCLUDED_snikket_Notification
#define INCLUDED_snikket_Notification

#ifndef HXCPP_H
#include <hxcpp.h>
#endif

HX_DECLARE_STACK_FRAME(_hx_pos_b0a79cae3ba17812_31_new)
HX_DECLARE_CLASS1(snikket,ChatMessage)
HX_DECLARE_CLASS1(snikket,Notification)
HX_DECLARE_CLASS1(snikket,Stanza)
HX_DECLARE_CLASS2(snikket,_Stanza,NodeInterface)

namespace snikket{


class HXCPP_CLASS_ATTRIBUTES Notification_obj : public ::hx::Object
{
	public:
		typedef ::hx::Object super;
		typedef Notification_obj OBJ_;
		Notification_obj();

	public:
		enum { _hx_ClassId = 0x778a3c48 };

		void __construct(::String title,::String body,::String accountId,::String chatId,::String senderId,::String messageId,int type,::String callStatus,::String callSid,::String imageUri,::String lang,::String timestamp);
		inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="snikket.Notification")
			{ return ::hx::Object::operator new(inSize,inContainer,inName); }
		inline void *operator new(size_t inSize, int extra)
			{ return ::hx::Object::operator new(inSize+extra,true,"snikket.Notification"); }

		inline static ::hx::ObjectPtr< Notification_obj > __new(::String title,::String body,::String accountId,::String chatId,::String senderId,::String messageId,int type,::String callStatus,::String callSid,::String imageUri,::String lang,::String timestamp) {
			::hx::ObjectPtr< Notification_obj > __this = new Notification_obj();
			__this->__construct(title,body,accountId,chatId,senderId,messageId,type,callStatus,callSid,imageUri,lang,timestamp);
			return __this;
		}

		inline static ::hx::ObjectPtr< Notification_obj > __alloc(::hx::Ctx *_hx_ctx,::String title,::String body,::String accountId,::String chatId,::String senderId,::String messageId,int type,::String callStatus,::String callSid,::String imageUri,::String lang,::String timestamp) {
			Notification_obj *__this = (Notification_obj*)(::hx::Ctx::alloc(_hx_ctx, sizeof(Notification_obj), true, "snikket.Notification"));
			*(void **)__this = Notification_obj::_hx_vtable;
{
            	HX_STACKFRAME(&_hx_pos_b0a79cae3ba17812_31_new)
HXLINE(  32)		( ( ::snikket::Notification)(__this) )->title = title;
HXLINE(  33)		( ( ::snikket::Notification)(__this) )->body = body;
HXLINE(  34)		( ( ::snikket::Notification)(__this) )->accountId = accountId;
HXLINE(  35)		( ( ::snikket::Notification)(__this) )->chatId = chatId;
HXLINE(  36)		( ( ::snikket::Notification)(__this) )->senderId = senderId;
HXLINE(  37)		( ( ::snikket::Notification)(__this) )->messageId = messageId;
HXLINE(  38)		( ( ::snikket::Notification)(__this) )->type = type;
HXLINE(  39)		( ( ::snikket::Notification)(__this) )->callStatus = callStatus;
HXLINE(  40)		( ( ::snikket::Notification)(__this) )->callSid = callSid;
HXLINE(  41)		( ( ::snikket::Notification)(__this) )->imageUri = imageUri;
HXLINE(  42)		( ( ::snikket::Notification)(__this) )->lang = lang;
HXLINE(  43)		( ( ::snikket::Notification)(__this) )->timestamp = timestamp;
            	}
		
			return __this;
		}

		static void * _hx_vtable;
		static Dynamic __CreateEmpty();
		static Dynamic __Create(::hx::DynamicArray inArgs);
		//~Notification_obj();

		HX_DO_RTTI_ALL;
		::hx::Val __Field(const ::String &inString, ::hx::PropertyAccess inCallProp);
		static bool __GetStatic(const ::String &inString, Dynamic &outValue, ::hx::PropertyAccess inCallProp);
		::hx::Val __SetField(const ::String &inString,const ::hx::Val &inValue, ::hx::PropertyAccess inCallProp);
		void __GetFields(Array< ::String> &outFields);
		static void __register();
		void __Mark(HX_MARK_PARAMS);
		void __Visit(HX_VISIT_PARAMS);
		bool _hx_isInstanceOf(int inClassId);
		::String __ToString() const { return HX_("Notification",0b,43,1d,24); }

		static void __boot();
		static  ::Dynamic __meta__;
		static  ::snikket::Notification fromChatMessage( ::snikket::ChatMessage m);
		static ::Dynamic fromChatMessage_dyn();

		static  ::snikket::Notification fromThinStanza( ::snikket::Stanza stanza);
		static ::Dynamic fromThinStanza_dyn();

		::String title;
		::String title__fromC();
		::Dynamic title__fromC_dyn();

		::String body;
		::String body__fromC();
		::Dynamic body__fromC_dyn();

		::String accountId;
		::String accountId__fromC();
		::Dynamic accountId__fromC_dyn();

		::String chatId;
		::String chatId__fromC();
		::Dynamic chatId__fromC_dyn();

		::String senderId;
		::String senderId__fromC();
		::Dynamic senderId__fromC_dyn();

		::String messageId;
		::String messageId__fromC();
		::Dynamic messageId__fromC_dyn();

		int type;
		int type__fromC();
		::Dynamic type__fromC_dyn();

		::String callStatus;
		::String callStatus__fromC();
		::Dynamic callStatus__fromC_dyn();

		::String callSid;
		::String callSid__fromC();
		::Dynamic callSid__fromC_dyn();

		::String imageUri;
		::String imageUri__fromC();
		::Dynamic imageUri__fromC_dyn();

		::String lang;
		::String lang__fromC();
		::Dynamic lang__fromC_dyn();

		::String timestamp;
		::String timestamp__fromC();
		::Dynamic timestamp__fromC_dyn();

};

} // end namespace snikket

#endif /* INCLUDED_snikket_Notification */