/// <summary>
        /// Creates list of users with given input array 
        /// </summary>
        /// <param name="body">List of user object</param>
        /// <returns></returns>
        public void createUsersWithArrayInput(array<User> body)
        {
            // create path and map variables
            var path = "/user/createWithArray".Replace("{format}","json");

            // query params
            var queryParams = new Dictionary<String, String>();
            var headerParams = new Dictionary<String, String>();

            // verify required params are set
            if (body == null ) {
               throw new ApiException(400, "missing required params");
            }
            string paramStr = null;
            try {
              var response = apiInvoker.invokeAPI(basePath, path, "POST", queryParams, body, headerParams);
              if(response != null){
             return ;
              }
              else {
            return ;
              }
            } catch (ApiException ex) {
              if(ex.ErrorCode == 404) {
              	return ;
              }
              else {
            throw ex;
              }
            }
        }
 public pageBits(array <ulong> value) => m_value = value;
 public __Siginfo(int Signo = default, int Errno = default, int Code = default, int Pid = default, uint Uid = default, int Status = default, ref ptr <byte> Addr = default, array <byte> Value = default, array <byte> _ = default)
 {
     this.Signo  = Signo;
     this.Errno  = Errno;
     this.Code   = Code;
     this.Pid    = Pid;
     this.Uid    = Uid;
     this.Status = Status;
     this.Addr   = Addr;
     this.Value  = Value;
     this._      = _;
 }
Exemple #4
0
 public funcTypeFixed16(funcType funcType = default, array <ptr <rtype> > args = default)
 {
     this.m_funcTypeRef = new ptr <funcType>(funcType);
     this.args          = args;
 }
Exemple #5
0
 public mcache(System.UIntPtr next_sample = default, System.UIntPtr local_scan = default, System.UIntPtr tiny = default, System.UIntPtr tinyoffset = default, System.UIntPtr local_tinyallocs = default, array <ptr <mspan> > alloc = default, array <stackfreelist> stackcache = default, System.UIntPtr local_largefree = default, System.UIntPtr local_nlargefree = default, array <System.UIntPtr> local_nsmallfree = default, uint flushGen = default)
 {
     this.next_sample      = next_sample;
     this.local_scan       = local_scan;
     this.tiny             = tiny;
     this.tinyoffset       = tinyoffset;
     this.local_tinyallocs = local_tinyallocs;
     this.alloc            = alloc;
     this.stackcache       = stackcache;
     this.local_largefree  = local_largefree;
     this.local_nlargefree = local_nlargefree;
     this.local_nsmallfree = local_nsmallfree;
     this.flushGen         = flushGen;
 }
Exemple #6
0
 public Statfs_t(long Type = default, long Bsize = default, ulong Blocks = default, ulong Bfree = default, ulong Bavail = default, ulong Files = default, ulong Ffree = default, Fsid Fsid = default, long Namelen = default, long Frsize = default, long Flags = default, array <long> Spare = default)
 {
     this.Type    = Type;
     this.Bsize   = Bsize;
     this.Blocks  = Blocks;
     this.Bfree   = Bfree;
     this.Bavail  = Bavail;
     this.Files   = Files;
     this.Ffree   = Ffree;
     this.Fsid    = Fsid;
     this.Namelen = Namelen;
     this.Frsize  = Frsize;
     this.Flags   = Flags;
     this.Spare   = Spare;
 }
Exemple #7
0
 public IPMreq(array <byte> Multiaddr = default, array <byte> Interface = default)
 {
     this.Multiaddr = Multiaddr;
     this.Interface = Interface;
 }
 public timeval(long tv_sec = default, int tv_usec = default, array <byte> pad_cgo_0 = default)
 {
     this.tv_sec    = tv_sec;
     this.tv_usec   = tv_usec;
     this.pad_cgo_0 = pad_cgo_0;
 }
 public IPMreqn(array <byte> Multiaddr = default, array <byte> Address = default, int Ifindex = default)
 {
     this.Multiaddr = Multiaddr;
     this.Address   = Address;
     this.Ifindex   = Ifindex;
 }
 public RawSockaddr(byte Len = default, byte Family = default, array <byte> Data = default)
 {
     this.Len    = Len;
     this.Family = Family;
     this.Data   = Data;
 }
Exemple #11
0
 public SidIdentifierAuthority(array <byte> Value = default)
 {
     this.Value = Value;
 }
 public pcvalueCache(array <array <pcvalueCacheEnt> > entries = default)
 {
     this.entries = entries;
 }
Exemple #13
0
 public CryptoReportRNG(array <sbyte> Type = default, uint Seedsize = default)
 {
     this.Type     = Type;
     this.Seedsize = Seedsize;
 }
 public d(array <int> value) => m_value = value;
 public Fsid(array <int> X__fsid_val = default)
 {
     this.X__fsid_val = X__fsid_val;
 }
Exemple #16
0
 public Event(long Off = default, byte Type = default, long seq = default, long Ts = default, long P = default, ulong G = default, ulong StkID = default, slice <ptr <Frame> > Stk = default, array <ulong> Args = default, slice <@string> SArgs = default, ref ptr <Event> Link = default)
 {
     this.Off   = Off;
     this.Type  = Type;
     this.seq   = seq;
     this.Ts    = Ts;
     this.P     = P;
     this.G     = G;
     this.StkID = StkID;
     this.Stk   = Stk;
     this.Args  = Args;
     this.SArgs = SArgs;
     this.Link  = Link;
 }
Exemple #17
0
 public Radvisory_t(long Offset = default, int Count = default, array <byte> _ = default)
 {
     this.Offset = Offset;
     this.Count  = Count;
     this._      = _;
 }
Exemple #18
0
 public RawSockaddrDatalink(byte Len = default, byte Family = default, ushort Index = default, byte Type = default, byte Nlen = default, byte Alen = default, byte Slen = default, array <byte> Data = default)
 {
     this.Len    = Len;
     this.Family = Family;
     this.Index  = Index;
     this.Type   = Type;
     this.Nlen   = Nlen;
     this.Alen   = Alen;
     this.Slen   = Slen;
     this.Data   = Data;
 }
Exemple #19
0
 public Block(slice <ast.Node> Nodes = default, slice <ptr <Block> > Succs = default, int Index = default, bool Live = default, @string comment = default, array <ptr <Block> > succs2 = default)
 {
     this.Nodes   = Nodes;
     this.Succs   = Succs;
     this.Index   = Index;
     this.Live    = Live;
     this.comment = comment;
     this.succs2  = succs2;
 }
 public stackt(ref ptr <byte> ss_sp = default, System.UIntPtr ss_size = default, int ss_flags = default, array <byte> pad_cgo_0 = default)
 {
     this.ss_sp     = ss_sp;
     this.ss_size   = ss_size;
     this.ss_flags  = ss_flags;
     this.pad_cgo_0 = pad_cgo_0;
 }
 public Termios(uint Iflag = default, uint Oflag = default, uint Cflag = default, uint Lflag = default, array <byte> Cc = default, int Ispeed = default, int Ospeed = default)
 {
     this.Iflag  = Iflag;
     this.Oflag  = Oflag;
     this.Cflag  = Cflag;
     this.Lflag  = Lflag;
     this.Cc     = Cc;
     this.Ispeed = Ispeed;
     this.Ospeed = Ospeed;
 }
 public keventt(uint ident = default, uint filter = default, uint flags = default, uint fflags = default, long data = default, ref ptr<byte> udata = default, array<byte> _ = default)
 {
     this.ident = ident;
     this.filter = filter;
     this.flags = flags;
     this.fflags = fflags;
     this.data = data;
     this.udata = udata;
     this._ = _;
 }
 public CryptoReportHash(array <sbyte> Type = default, uint Blocksize = default, uint Digestsize = default)
 {
     this.Type       = Type;
     this.Blocksize  = Blocksize;
     this.Digestsize = Digestsize;
 }
Exemple #24
0
 public BlkpgPartition(long Start = default, long Length = default, int Pno = default, array <byte> Devname = default, array <byte> Volname = default, array <byte> _ = default)
 {
     this.Start   = Start;
     this.Length  = Length;
     this.Pno     = Pno;
     this.Devname = Devname;
     this.Volname = Volname;
     this._       = _;
 }
 public RawSockaddrAny(RawSockaddr Addr = default, array <sbyte> Pad = default)
 {
     this.Addr = Addr;
     this.Pad  = Pad;
 }
Exemple #26
0
 public finblock(ref ptr <finblock> alllink = default, ref ptr <finblock> next = default, uint cnt = default, int _ = default, array <finalizer> fin = default)
 {
     this.alllink = alllink;
     this.next    = next;
     this.cnt     = cnt;
     this._       = _;
     this.fin     = fin;
 }
 public CryptoReportKPP(array <byte> Type = default)
 {
     this.Type = Type;
 }
 public SockFprog(ushort Len = default, array <byte> _ = default, ref ptr <SockFilter> Filter = default)
 {
     this.Len    = Len;
     this._      = _;
     this.Filter = Filter;
 }
Exemple #29
0
 public LoopInfo(int Number = default, uint Device = default, ulong Inode = default, uint Rdevice = default, int Offset = default, int Encrypt_type = default, int Encrypt_key_size = default, int Flags = default, array <sbyte> Name = default, array <byte> Encrypt_key = default, array <ulong> Init = default, array <sbyte> Reserved = default, array <byte> _ = default)
 {
     this.Number           = Number;
     this.Device           = Device;
     this.Inode            = Inode;
     this.Rdevice          = Rdevice;
     this.Offset           = Offset;
     this.Encrypt_type     = Encrypt_type;
     this.Encrypt_key_size = Encrypt_key_size;
     this.Flags            = Flags;
     this.Name             = Name;
     this.Encrypt_key      = Encrypt_key;
     this.Init             = Init;
     this.Reserved         = Reserved;
     this._ = _;
 }
 public FscryptKey(uint Mode = default, array <byte> Raw = default, uint Size = default)
 {
     this.Mode = Mode;
     this.Raw  = Raw;
     this.Size = Size;
 }
 public Sigset_t(array <ulong> Val = default)
 {
     this.Val = Val;
 }
Exemple #32
0
 Class538 class = new Class538(array, Enum115.const_5, Origins.BottomLeft, Enum114.const_0, new Vector2(0f, 480f), 0.9f, true, Color.get_White());