//Generated by wsdl2apex

public class partnerSoap {
    public class describeSObjectResponse_element {
        public partnerSoap.DescribeSObjectResult result;
        private String[] result_type_info = new String[]{'result','urn:partner.soap.sforce.com',null,'1','1','true'};
        private String[] apex_schema_type_info = new String[]{'urn:partner.soap.sforce.com','true','false'};
        private String[] field_order_type_info = new String[]{'result'};
    }
    public class describeSObject_element {
        public String sObjectType;
        private String[] sObjectType_type_info = new String[]{'sObjectType','urn:partner.soap.sforce.com',null,'1','1','false'};
        private String[] apex_schema_type_info = new String[]{'urn:partner.soap.sforce.com','true','false'};
        private String[] field_order_type_info = new String[]{'sObjectType'};
    }
    public class DescribeSObjectResult {
        public Boolean activateable;
        public Boolean createable;
        public Boolean custom;
        public Boolean deletable;
        public String keyPrefix;
        public String label;
        public String labelPlural;
        public Boolean layoutable;
        public Boolean listviewable;
        public Boolean lookupLayoutable;
        public Boolean mergeable;
        public String name;
        public Boolean queryable;
        public Boolean replicateable;
        public Boolean retrieveable;
        public Boolean searchLayoutable;
        public Boolean searchable;
        public Boolean triggerable;
        public Boolean undeletable;
        public Boolean updateable;
        public String urlDetail;
        public String urlEdit;
        public String urlNew;
        private String[] activateable_type_info = new String[]{'activateable','urn:partner.soap.sforce.com',null,'1','1','false'};
        private String[] createable_type_info = new String[]{'createable','urn:partner.soap.sforce.com',null,'1','1','false'};
        private String[] custom_type_info = new String[]{'custom','urn:partner.soap.sforce.com',null,'1','1','false'};
        private String[] deletable_type_info = new String[]{'deletable','urn:partner.soap.sforce.com',null,'1','1','false'};
        private String[] keyPrefix_type_info = new String[]{'keyPrefix','urn:partner.soap.sforce.com',null,'1','1','true'};
        private String[] label_type_info = new String[]{'label','urn:partner.soap.sforce.com',null,'1','1','false'};
        private String[] labelPlural_type_info = new String[]{'labelPlural','urn:partner.soap.sforce.com',null,'1','1','false'};
        private String[] layoutable_type_info = new String[]{'layoutable','urn:partner.soap.sforce.com',null,'1','1','false'};
        private String[] listviewable_type_info = new String[]{'listviewable','urn:partner.soap.sforce.com',null,'0','1','false'};
        private String[] lookupLayoutable_type_info = new String[]{'lookupLayoutable','urn:partner.soap.sforce.com',null,'0','1','false'};
        private String[] mergeable_type_info = new String[]{'mergeable','urn:partner.soap.sforce.com',null,'1','1','false'};
        private String[] name_type_info = new String[]{'name','urn:partner.soap.sforce.com',null,'1','1','false'};
        private String[] queryable_type_info = new String[]{'queryable','urn:partner.soap.sforce.com',null,'1','1','false'};
        private String[] replicateable_type_info = new String[]{'replicateable','urn:partner.soap.sforce.com',null,'1','1','false'};
        private String[] retrieveable_type_info = new String[]{'retrieveable','urn:partner.soap.sforce.com',null,'1','1','false'};
        private String[] searchLayoutable_type_info = new String[]{'searchLayoutable','urn:partner.soap.sforce.com',null,'0','1','false'};
        private String[] searchable_type_info = new String[]{'searchable','urn:partner.soap.sforce.com',null,'1','1','false'};
        private String[] triggerable_type_info = new String[]{'triggerable','urn:partner.soap.sforce.com',null,'0','1','false'};
        private String[] undeletable_type_info = new String[]{'undeletable','urn:partner.soap.sforce.com',null,'1','1','false'};
        private String[] updateable_type_info = new String[]{'updateable','urn:partner.soap.sforce.com',null,'1','1','false'};
        private String[] urlDetail_type_info = new String[]{'urlDetail','urn:partner.soap.sforce.com',null,'1','1','true'};
        private String[] urlEdit_type_info = new String[]{'urlEdit','urn:partner.soap.sforce.com',null,'1','1','true'};
        private String[] urlNew_type_info = new String[]{'urlNew','urn:partner.soap.sforce.com',null,'1','1','true'};
        private String[] apex_schema_type_info = new String[]{'urn:partner.soap.sforce.com','true','false'};
        private String[] field_order_type_info = new String[]{'activateable','createable','custom','deletable','keyPrefix','label','labelPlural','layoutable','listviewable','lookupLayoutable','mergeable','name','queryable','replicateable','retrieveable','searchLayoutable','searchable','triggerable','undeletable','updateable','urlDetail','urlEdit','urlNew'};
    }
    public class Soap {
        public String endpoint_x = 'https://login.salesforce.com/services/Soap/u/10.0';
        public Map<String,String> inputHttpHeaders_x;
        public Map<String,String> outputHttpHeaders_x;
        public String clientCertName_x;
        public String clientCert_x;
        public String clientCertPasswd_x;
        public Integer timeout_x;
        private String[] ns_map_type_info = new String[]{'urn:sobject.partner.soap.sforce.com', 'sParnterSoap', 'urn:partner.soap.sforce.com', 'partnerSoap'};
        public partnerSoap.DescribeSObjectResult describeSObject(String sObjectType) {
            partnerSoap.describeSObject_element request_x = new partnerSoap.describeSObject_element();
            request_x.sObjectType = sObjectType;
            partnerSoap.describeSObjectResponse_element response_x;
            Map<String, partnerSoap.describeSObjectResponse_element> response_map_x = new Map<String, partnerSoap.describeSObjectResponse_element>();
            response_map_x.put('response_x', response_x);
            WebServiceCallout.invoke(
              this,
              request_x,
              response_map_x,
              new String[]{endpoint_x,
              '',
              'urn:partner.soap.sforce.com',
              'describeSObject',
              'urn:partner.soap.sforce.com',
              'describeSObjectResponse',
              'partnerSoap.describeSObjectResponse_element'}
            );
            response_x = response_map_x.get('response_x');
            return response_x.result;
        }
    }
}