func NewClient(prefix string, apiVersion string, version string, sess session.Session, t *http.Transport) *Client {
	c := &Client{
		client:     &http.Client{Transport: t},
		prefix:     prefix,
		apiVersion: apiVersion,
		version:    version,
		sess:       sess,
	}

	c.KeyPairs = &KeyPairs{client: c}
	c.Tokens = &Tokens{client: c}
	c.Users = &Users{client: c}
	c.Teams = &TeamsClient{client: c}
	c.Memberships = &MembershipsClient{client: c}
	c.Credentials = &Credentials{client: c}
	c.Orgs = &Orgs{client: c}
	c.OrgInvite = &OrgInviteClient{client: c}
	c.Projects = &ProjectsClient{client: c}
	c.ClaimTree = &ClaimTreeClient{client: c}
	c.Keyring = &KeyringClient{client: c}
	c.Keyring.Members = &KeyringMembersClient{client: c}
	c.KeyringMember = &KeyringMemberClientV1{client: c}
	c.CredentialGraph = &CredentialGraphClient{client: c}
	c.Machines = &MachinesClient{client: c}
	c.Self = &SelfClient{client: c}

	return c
}
// NewClient returns a new Client.
NewClient returns a new Client.
// NewClient returns a new Client .
func NewClient(prefix string, apiVersion string, version string, sess session.Session, t *http.Transport) *Client {
	c := &Client{
		client:     &http.Client{Transport: t},
		prefix:     prefix,
		apiVersion: apiVersion,
		version:    version,
		sess:       sess,
	}
	c.KeyPairs = &KeyPairs{client: c}
	c.Tokens = &Tokens{client: c}
	c.Users = &Users{client: c}
	c.Teams = &TeamsClient{client: c}
	c.Memberships = &MembershipsClient{client: c}
	c.Credentials = &Credentials{client: c}
	c.Orgs = &Orgs{client: c}
	c.OrgInvite = &OrgInviteClient{client: c}
	c.Projects = &ProjectsClient{client: c}
	c.ClaimTree = &ClaimTreeClient{client: c}
	c.Keyring = &KeyringClient{client: c}
	c.Keyring.Members = &KeyringMembersClient{client: c}
	c.KeyringMember = &KeyringMemberClientV1{client: c}
	c.CredentialGraph = &CredentialGraphClient{client: c}
	c.Machines = &MachinesClient{client: c}
	c.Self = &SelfClient{client: c}
	return c
}
func NewClient ( prefix string , apiVersion string , version string , sess session . Session , t * http . Transport ) * Client { c := & Client { client : & http . Client { Transport : t } , prefix : prefix , apiVersion : apiVersion , version : version , sess : sess , } c . KeyPairs = & KeyPairs { client : c } c . Tokens = & Tokens { client : c } c . Users = & Users { client : c } c . Teams = & TeamsClient { client : c } c . Memberships = & MembershipsClient { client : c } c . Credentials = & Credentials { client : c } c . Orgs = & Orgs { client : c } c . OrgInvite = & OrgInviteClient { client : c } c . Projects = & ProjectsClient { client : c } c . ClaimTree = & ClaimTreeClient { client : c } c . Keyring = & KeyringClient { client : c } c . Keyring . Members = & KeyringMembersClient { client : c } c . KeyringMember = & KeyringMemberClientV1 { client : c } c . CredentialGraph = & CredentialGraphClient { client : c } c . Machines = & MachinesClient { client : c } c . Self = & SelfClient { client : c } return c }
NewClient returns a new Client.
NewClient returns a new Client .