code: public static base_response add(nitro_service client, tmsessionaction resource) throws Exception {
  		tmsessionaction addresource = new tmsessionaction();
  		addresource.name = resource.name;
  		addresource.sesstimeout = resource.sesstimeout;
  		addresource.defaultauthorizationaction = resource.defaultauthorizationaction;
  		addresource.sso = resource.sso;
  		addresource.ssocredential = resource.ssocredential;
  		addresource.ssodomain = resource.ssodomain;
  		addresource.httponlycookie = resource.httponlycookie;
  		addresource.kcdaccount = resource.kcdaccount;
  		addresource.persistentcookie = resource.persistentcookie;
  		addresource.persistentcookievalidity = resource.persistentcookievalidity;
  		addresource.homepage = resource.homepage;
  		return addresource.add_resource(client);
  	}
docs: Use this API to add tmsessionaction.