#ifndef GITPUSHOPTIONS_H
#define GITPUSHOPTIONS_H
// generated from struct_header.h
#include <nan.h>
#include <string>

extern "C" {
  #include <git2.h>
 }

 
using namespace node;
using namespace v8;

class GitPushOptions : public ObjectWrap {
  public:
    GitPushOptions(git_push_options* raw, bool selfFreeing);
    static Persistent<Function> constructor_template;
    static void InitializeComponent (Handle<v8::Object> target);

    git_push_options *GetValue();
    git_push_options **GetRefValue();

    static Handle<Value> New(void *raw, bool selfFreeing);

    bool selfFreeing;

     
  private:
    GitPushOptions();
    ~GitPushOptions();

    void ConstructFields();

    static NAN_METHOD(JSNewFunction);

  
        static NAN_GETTER(GetVersion);
        static NAN_SETTER(SetVersion);

   
        static NAN_GETTER(GetPbParallelism);
        static NAN_SETTER(SetPbParallelism);

  
    git_push_options *raw;
};

#endif
