sfgboxapi

<back to all web services

RolesSystemFunctionsAutoQueryEdit

import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class RolesSystemFunctionsAutoQueryEdit extends RolesSystemFunctions implements IUpdateDb<RolesSystemFunctions>
    {
        
    }

    public static class RolesSystemFunctions
    {
        @DataMember(Order=1)
        @Required()
        public Long id = null;

        @DataMember(Order=2)
        @Required()
        @References(Roles.class)
        public Long rolesId = null;

        @DataMember(Order=3)
        @Required()
        @References(SystemFunctions.class)
        public Long systemFunctionsId = null;
        
        public Long getId() { return id; }
        public RolesSystemFunctions setId(Long value) { this.id = value; return this; }
        public Long getRolesId() { return rolesId; }
        public RolesSystemFunctions setRolesId(Long value) { this.rolesId = value; return this; }
        public Long getSystemFunctionsId() { return systemFunctionsId; }
        public RolesSystemFunctions setSystemFunctionsId(Long value) { this.systemFunctionsId = value; return this; }
    }

}

Java RolesSystemFunctionsAutoQueryEdit DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsv/reply/RolesSystemFunctionsAutoQueryEdit HTTP/1.1 
Host: api-stage.smartfarmertech.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	id: 0,
	rolesId: 0,
	systemFunctionsId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	id: 0,
	rolesId: 0,
	systemFunctionsId: 0
}